Update for changes in rustc.
This commit is contained in:
parent
9093188a5c
commit
6d1c47b6ef
@ -469,7 +469,7 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
|
||||
}
|
||||
}
|
||||
|
||||
StructWrappedNullablePointer { nndiscr, ref nonnull, ref discrfield } => {
|
||||
StructWrappedNullablePointer { nndiscr, ref nonnull, ref discrfield, .. } => {
|
||||
if let mir::AggregateKind::Adt(_, variant, _, _) = *kind {
|
||||
if nndiscr == variant as u64 {
|
||||
let offsets = nonnull.offsets.iter().map(|s| s.bytes());
|
||||
|
@ -1,6 +1,5 @@
|
||||
#![feature(
|
||||
btree_range,
|
||||
cell_extras,
|
||||
collections,
|
||||
collections_bound,
|
||||
pub_restricted,
|
||||
|
Loading…
x
Reference in New Issue
Block a user