Move errors from libsyntax to its own crate
This commit is contained in:
parent
3908913db5
commit
6ae3502134
266 changed files with 1389 additions and 1176 deletions
|
@ -9,13 +9,13 @@
|
|||
// except according to those terms.
|
||||
|
||||
use syntax::ast;
|
||||
use syntax::codemap;
|
||||
use syntax::ext::base;
|
||||
use syntax::feature_gate;
|
||||
use syntax::print;
|
||||
use syntax_pos;
|
||||
|
||||
pub fn expand_syntax_ext<'cx>(cx: &'cx mut base::ExtCtxt,
|
||||
sp: codemap::Span,
|
||||
sp: syntax_pos::Span,
|
||||
tts: &[ast::TokenTree])
|
||||
-> Box<base::MacResult+'cx> {
|
||||
if !cx.ecfg.enable_log_syntax() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue