Skip to content

Commit fff5ef6

Browse files
committed
canonicalize rustc::session import
1 parent 1af8c10 commit fff5ef6

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3787,6 +3787,7 @@ dependencies = [
37873787
"rustc_hir",
37883788
"rustc_index",
37893789
"rustc_parse",
3790+
"rustc_session",
37903791
"rustc_span",
37913792
"rustc_target",
37923793
"syntax",

src/librustc_passes/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ rustc_feature = { path = "../librustc_feature" }
1717
rustc_hir = { path = "../librustc_hir" }
1818
rustc_index = { path = "../librustc_index" }
1919
rustc_parse = { path = "../librustc_parse" }
20+
rustc_session = { path = "../librustc_session" }
2021
rustc_target = { path = "../librustc_target" }
2122
syntax = { path = "../libsyntax" }
2223
rustc_span = { path = "../librustc_span" }

src/librustc_passes/ast_validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
// or type checking or some other kind of complex analysis.
88

99
use rustc::lint;
10-
use rustc::session::Session;
1110
use rustc_data_structures::fx::FxHashMap;
1211
use rustc_errors::{struct_span_err, Applicability, FatalError};
1312
use rustc_parse::validate_attr;
13+
use rustc_session::Session;
1414
use rustc_span::source_map::Spanned;
1515
use rustc_span::symbol::{kw, sym};
1616
use rustc_span::Span;

0 commit comments

Comments
 (0)