Revert "Fix rebase fallout"

This reverts commit 5685e4dd90.
This commit is contained in:
Aaron Hill 2020-05-29 00:19:06 -04:00
parent 255c0338dc
commit ed503acb46
No known key found for this signature in database
GPG Key ID: B4087E510E98B164
4 changed files with 3 additions and 5 deletions

View File

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

View File

@ -21,6 +21,8 @@ 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,7 +12,6 @@ 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,9 +14,7 @@ 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, DUMMY_SP};
use smallvec::SmallVec;
use rustc_span::{FileName, SourceFile, Span};
use std::mem;
use std::path::Path;