Proper spans for for loop expansion
This commit is contained in:
parent
4b88e8f63e
commit
0d258516cb
3 changed files with 52 additions and 14 deletions
|
@ -235,7 +235,9 @@ pub enum MacroFormat {
|
|||
/// e.g. #[derive(...)] <item>
|
||||
MacroAttribute,
|
||||
/// e.g. `format!()`
|
||||
MacroBang
|
||||
MacroBang,
|
||||
/// Expansion performed by the compiler (libsyntax::expand).
|
||||
CompilerExpansion,
|
||||
}
|
||||
|
||||
#[derive(Clone, Hash, Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue