libsyntax_ext => 2018
This commit is contained in:
parent
e858c2637f
commit
94f121ff3f
35 changed files with 269 additions and 268 deletions
|
@ -1,4 +1,5 @@
|
|||
use errors::DiagnosticBuilder;
|
||||
use crate::errors::DiagnosticBuilder;
|
||||
|
||||
use syntax::ast::{self, *};
|
||||
use syntax::source_map::Spanned;
|
||||
use syntax::ext::base::*;
|
||||
|
@ -11,7 +12,7 @@ use syntax::tokenstream::{TokenStream, TokenTree};
|
|||
use syntax_pos::{Span, DUMMY_SP};
|
||||
|
||||
pub fn expand_assert<'cx>(
|
||||
cx: &'cx mut ExtCtxt,
|
||||
cx: &'cx mut ExtCtxt<'_>,
|
||||
sp: Span,
|
||||
tts: &[TokenTree],
|
||||
) -> Box<dyn MacResult + 'cx> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue