Skip to content

Commit 3a65d9e

Browse files
committed
Remove rustc_type_ir import
1 parent 0558180 commit 3a65d9e

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4654,7 +4654,6 @@ dependencies = [
46544654
"rustc_session",
46554655
"rustc_span",
46564656
"rustc_transmute",
4657-
"rustc_type_ir",
46584657
"smallvec",
46594658
"thin-vec",
46604659
"tracing",

compiler/rustc_trait_selection/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ rustc_parse_format = { path = "../rustc_parse_format" }
2121
rustc_session = { path = "../rustc_session" }
2222
rustc_span = { path = "../rustc_span" }
2323
rustc_transmute = { path = "../rustc_transmute", features = ["rustc"] }
24-
rustc_type_ir = {path = "../rustc_type_ir"}
2524
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
2625
thin-vec = "0.2"
2726
tracing = "0.1"

compiler/rustc_trait_selection/src/traits/fulfill.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ use rustc_infer::traits::{
1111
use rustc_middle::bug;
1212
use rustc_middle::ty::abstract_const::NotConstEvaluatable;
1313
use rustc_middle::ty::error::{ExpectedFound, TypeError};
14-
use rustc_middle::ty::{self, Binder, Const, GenericArgsRef, TypeVisitableExt, TypingMode};
15-
use rustc_type_ir::may_use_unstable_feature;
14+
use rustc_middle::ty::{self, Binder, Const, GenericArgsRef, TypeVisitableExt, TypingMode, may_use_unstable_feature};
1615
use thin_vec::{ThinVec, thin_vec};
1716
use tracing::{debug, debug_span, instrument};
1817

compiler/rustc_trait_selection/src/traits/select/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ use rustc_middle::ty::error::TypeErrorToStringExt;
2828
use rustc_middle::ty::print::{PrintTraitRefExt as _, with_no_trimmed_paths};
2929
use rustc_middle::ty::{
3030
self, DeepRejectCtxt, GenericArgsRef, PolyProjectionPredicate, SizedTraitKind, Ty, TyCtxt,
31-
TypeFoldable, TypeVisitableExt, TypingMode, Upcast, elaborate,
31+
TypeFoldable, TypeVisitableExt, TypingMode, Upcast, elaborate, may_use_unstable_feature
3232
};
3333
use rustc_span::{Symbol, sym};
34-
use rustc_type_ir::may_use_unstable_feature;
3534
use tracing::{debug, instrument, trace};
3635

3736
use self::EvaluationResult::*;

0 commit comments

Comments
 (0)