Skip to content

Commit 5685e4d

Browse files
committed
Fix rebase fallout
1 parent 30c00fd commit 5685e4d

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

Cargo.lock

+1
Original file line numberDiff line numberDiff line change
@@ -4173,6 +4173,7 @@ dependencies = [
41734173
"rustc_lexer",
41744174
"rustc_session",
41754175
"rustc_span",
4176+
"smallvec 1.4.0",
41764177
"unicode-normalization",
41774178
]
41784179

src/librustc_ast/tokenstream.rs

-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ use rustc_macros::HashStable_Generic;
2121
use rustc_span::{Span, DUMMY_SP};
2222
use smallvec::{smallvec, SmallVec};
2323

24-
use log::debug;
25-
2624
use std::{iter, mem};
2725

2826
/// When the main rust parser encounters a syntax-extension invocation, it

src/librustc_parse/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ doctest = false
1212
[dependencies]
1313
bitflags = "1.0"
1414
log = "0.4"
15+
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
1516
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
1617
rustc_data_structures = { path = "../librustc_data_structures" }
1718
rustc_feature = { path = "../librustc_feature" }

src/librustc_parse/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ use rustc_data_structures::sync::Lrc;
1414
use rustc_errors::{Diagnostic, FatalError, Level, PResult};
1515
use rustc_session::parse::ParseSess;
1616
use rustc_span::symbol::kw;
17-
use rustc_span::{FileName, SourceFile, Span};
17+
use rustc_span::{FileName, SourceFile, Span, DUMMY_SP};
18+
19+
use smallvec::SmallVec;
1820

1921
use std::mem;
2022
use std::path::Path;

0 commit comments

Comments
 (0)