Skip to content

Commit 22c2738

Browse files
committed
Minor cleanup: make imports more consistent
1 parent 85d6029 commit 22c2738

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_trait_selection/src/traits/const_evaluatable.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
//! In this case we try to build an abstract representation of this constant using
99
//! `mir_abstract_const` which can then be checked for structural equality with other
1010
//! generic constants mentioned in the `caller_bounds` of the current environment.
11-
use crate::traits::ty::subst::GenericArg;
1211
use rustc_errors::ErrorReported;
1312
use rustc_hir::def::DefKind;
1413
use rustc_index::bit_set::BitSet;
@@ -17,7 +16,7 @@ use rustc_infer::infer::InferCtxt;
1716
use rustc_middle::mir::abstract_const::{Node, NodeId, NotConstEvaluatable};
1817
use rustc_middle::mir::interpret::ErrorHandled;
1918
use rustc_middle::mir::{self, Rvalue, StatementKind, TerminatorKind};
20-
use rustc_middle::ty::subst::{Subst, SubstsRef};
19+
use rustc_middle::ty::subst::{GenericArg, Subst, SubstsRef};
2120
use rustc_middle::ty::{self, TyCtxt, TypeFoldable};
2221
use rustc_session::lint;
2322
use rustc_span::def_id::LocalDefId;

0 commit comments

Comments
 (0)