Skip to content

Commit 49f5b08

Browse files
committed
Fix imports after rebase
1 parent d5f1d75 commit 49f5b08

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

src/librustc_mir/const_eval/eval_queries.rs

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1+
use super::{error_to_const_error, CompileTimeEvalContext, CompileTimeInterpreter};
12
use crate::interpret::eval_nullary_intrinsic;
3+
use crate::interpret::{
4+
intern_const_alloc_recursive, Allocation, ConstValue, GlobalId, ImmTy, Immediate, InterpCx,
5+
InterpResult, MPlaceTy, MemoryKind, OpTy, RawConst, RefTracking, Scalar, ScalarMaybeUndef,
6+
StackPopCleanup,
7+
};
28
use rustc::hir::def::DefKind;
39
use rustc::mir;
410
use rustc::mir::interpret::{ConstEvalErr, ErrorHandled};
511
use rustc::traits::Reveal;
6-
use rustc::ty::{self, layout::LayoutOf, subst::Subst, TyCtxt};
7-
use rustc::ty::{self, TyCtxt};
8-
9-
use crate::interpret::{
10-
intern_const_alloc_recursive, ConstValue, GlobalId, InterpCx, InterpResult, MPlaceTy,
11-
MemoryKind, RawConst, RefTracking, StackPopCleanup,
12-
};
13-
14-
use super::{
15-
error_to_const_error, mk_eval_cx, op_to_const, CompileTimeEvalContext, CompileTimeInterpreter,
16-
};
12+
use rustc::ty::{self, layout, layout::LayoutOf, subst::Subst, TyCtxt};
13+
use std::convert::TryInto;
14+
use syntax::source_map::Span;
1715

1816
pub fn note_on_undefined_behavior_error() -> &'static str {
1917
"The rules on what exactly is undefined behavior aren't clear, \

0 commit comments

Comments
 (0)