libsyntax_ext => 2018

This commit is contained in:
Taiki Endo
2019-02-04 21:49:54 +09:00
parent e858c2637f
commit 94f121ff3f
35 changed files with 269 additions and 268 deletions

View File

@@ -1,11 +1,10 @@
// The compiler code necessary to support the compile_error! extension.
use syntax::ext::base::*;
use syntax::ext::base;
use syntax::ext::base::{self, *};
use syntax_pos::Span;
use syntax::tokenstream;
pub fn expand_compile_error<'cx>(cx: &'cx mut ExtCtxt,
pub fn expand_compile_error<'cx>(cx: &'cx mut ExtCtxt<'_>,
sp: Span,
tts: &[tokenstream::TokenTree])
-> Box<dyn base::MacResult + 'cx> {