Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ed503ac

Browse files
committed
Revert "Fix rebase fallout"
This reverts commit 5685e4d.
1 parent 255c033 commit ed503ac

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4143,7 +4143,6 @@ dependencies = [
41434143
"rustc_lexer",
41444144
"rustc_session",
41454145
"rustc_span",
4146-
"smallvec 1.4.0",
41474146
"unicode-normalization",
41484147
]
41494148

src/librustc_ast/tokenstream.rs

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

24+
use log::debug;
25+
2426
use std::{iter, mem};
2527

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

src/librustc_parse/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ doctest = false
1212
[dependencies]
1313
bitflags = "1.0"
1414
log = "0.4"
15-
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
1615
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
1716
rustc_data_structures = { path = "../librustc_data_structures" }
1817
rustc_feature = { path = "../librustc_feature" }

src/librustc_parse/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ 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, DUMMY_SP};
18-
19-
use smallvec::SmallVec;
17+
use rustc_span::{FileName, SourceFile, Span};
2018

2119
use std::mem;
2220
use std::path::Path;

0 commit comments

Comments
 (0)