Fix rebase fallout

This commit is contained in:
Aaron Hill 2020-05-22 15:11:49 -04:00
parent 30c00fd26a
commit 5685e4dd90
No known key found for this signature in database
GPG Key ID: B4087E510E98B164
4 changed files with 5 additions and 3 deletions

View File

@ -4173,6 +4173,7 @@ dependencies = [
"rustc_lexer",
"rustc_session",
"rustc_span",
"smallvec 1.4.0",
"unicode-normalization",
]

View File

@ -21,8 +21,6 @@ use rustc_macros::HashStable_Generic;
use rustc_span::{Span, DUMMY_SP};
use smallvec::{smallvec, SmallVec};
use log::debug;
use std::{iter, mem};
/// When the main rust parser encounters a syntax-extension invocation, it

View File

@ -12,6 +12,7 @@ doctest = false
[dependencies]
bitflags = "1.0"
log = "0.4"
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_feature = { path = "../librustc_feature" }

View File

@ -14,7 +14,9 @@ use rustc_data_structures::sync::Lrc;
use rustc_errors::{Diagnostic, FatalError, Level, PResult};
use rustc_session::parse::ParseSess;
use rustc_span::symbol::kw;
use rustc_span::{FileName, SourceFile, Span};
use rustc_span::{FileName, SourceFile, Span, DUMMY_SP};
use smallvec::SmallVec;
use std::mem;
use std::path::Path;