Proper spans for for loop expansion

This commit is contained in:
Nick Cameron 2015-05-06 19:17:01 +12:00
parent 4b88e8f63e
commit 0d258516cb
3 changed files with 52 additions and 14 deletions

View file

@ -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)]