Skip to content

Commit 7c9e473

Browse files
committed
Two minor use fixups.
I *think* this addresses what the `FIXME` comments are asking for.
1 parent 56718d8 commit 7c9e473

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

compiler/rustc_middle/src/traits/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ use rustc_macros::{
2121
};
2222
use rustc_span::def_id::{CRATE_DEF_ID, LocalDefId};
2323
use rustc_span::{DUMMY_SP, Span, Symbol};
24-
// FIXME: Remove this import and import via `solve::`
25-
pub use rustc_type_ir::solve::BuiltinImplSource;
2624
use smallvec::{SmallVec, smallvec};
2725
use thin_vec::ThinVec;
2826

2927
pub use self::select::{EvaluationCache, EvaluationResult, OverflowError, SelectionCache};
3028
use crate::mir::ConstraintCategory;
29+
pub use crate::traits::solve::BuiltinImplSource;
3130
use crate::ty::abstract_const::NotConstEvaluatable;
3231
use crate::ty::{self, AdtKind, GenericArgsRef, Ty};
3332

compiler/rustc_middle/src/traits/query.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
88
use rustc_macros::{HashStable, TypeFoldable, TypeVisitable};
99
use rustc_span::Span;
10-
// FIXME: Remove this import and import via `traits::solve`.
11-
pub use rustc_type_ir::solve::NoSolution;
1210

1311
use crate::error::DropCheckOverflow;
1412
use crate::infer::canonical::{Canonical, CanonicalQueryInput, QueryResponse};
13+
pub use crate::traits::solve::NoSolution;
1514
use crate::ty::{self, GenericArg, Ty, TyCtxt};
1615

1716
pub mod type_op {

0 commit comments

Comments
 (0)