diff --git a/quasi_codegen/src/lib.rs b/quasi_codegen/src/lib.rs index fefb2ea9..02bcdee8 100644 --- a/quasi_codegen/src/lib.rs +++ b/quasi_codegen/src/lib.rs @@ -27,7 +27,7 @@ extern crate syntax; extern crate rustc_plugin; use syntax::ast; -use syntax::codemap::Span; +use syntax::codemap::{Span, respan}; use syntax::ext::base::ExtCtxt; use syntax::ext::base; use syntax::parse::token::*; @@ -456,7 +456,7 @@ fn expr_mk_token(builder: &aster::AstBuilder, tok: &token::Token) -> P, - idents: Vec, + idents: Vec, } fn statements_mk_tt(tt: &ast::TokenTree, matcher: bool) -> Result { @@ -490,7 +490,7 @@ fn statements_mk_tt(tt: &ast::TokenTree, matcher: bool) -> Result { @@ -595,26 +595,27 @@ fn statements_mk_tt(tt: &ast::TokenTree, matcher: bool) -> Result