Skip to content

Commit f3100df

Browse files
committed
Rebase fallout
1 parent 948e94d commit f3100df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_mir/const_eval.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use syntax::ast::Mutability;
2929
use syntax::source_map::{Span, DUMMY_SP};
3030

3131
use interpret::{self,
32-
PlaceTy, MemPlace, MPlaceTy, OpTy, Operand, Value, Pointer, Scalar, ConstValue,
32+
PlaceTy, MPlaceTy, OpTy, Pointer, Scalar, ConstValue,
3333
EvalResult, EvalError, EvalErrorKind, GlobalId, EvalContext, StackPopCleanup,
3434
Allocation, AllocId, MemoryKind,
3535
snapshot,
@@ -131,6 +131,7 @@ pub fn mplace_to_const<'tcx>(
131131
// out of the larger allocation, so we lose all information about
132132
// potential surrounding types with different alignment.
133133
align: mplace.layout.align,
134+
extra: (),
134135
};
135136
for i in 0..mplace.layout.size.bytes() {
136137
let i = Size::from_bytes(i);

0 commit comments

Comments
 (0)