Rustup to rustc 1.32.0-nightly (6b9b97bd9
2018-11-15)
This commit is contained in:
parent
e1811533ae
commit
faf974b2e6
2 changed files with 2 additions and 10 deletions
|
@ -648,7 +648,8 @@ fn trans_stmt<'a, 'tcx: 'a>(
|
||||||
| StatementKind::FakeRead(..)
|
| StatementKind::FakeRead(..)
|
||||||
| StatementKind::EndRegion(_)
|
| StatementKind::EndRegion(_)
|
||||||
| StatementKind::Retag { .. }
|
| StatementKind::Retag { .. }
|
||||||
| StatementKind::AscribeUserType(..) => {}
|
| StatementKind::AscribeUserType(..)
|
||||||
|
| StatementKind::EscapeToRaw(..) => {}
|
||||||
|
|
||||||
StatementKind::InlineAsm { .. } => unimpl!("Inline assembly is not supported"),
|
StatementKind::InlineAsm { .. } => unimpl!("Inline assembly is not supported"),
|
||||||
}
|
}
|
||||||
|
|
|
@ -283,7 +283,6 @@ impl<'a, 'mir, 'tcx> Machine<'a, 'mir, 'tcx> for TransPlaceInterpreter {
|
||||||
type AllocExtra = ();
|
type AllocExtra = ();
|
||||||
type MemoryMap = FxHashMap<AllocId, (MemoryKind<!>, Allocation<()>)>;
|
type MemoryMap = FxHashMap<AllocId, (MemoryKind<!>, Allocation<()>)>;
|
||||||
const STATIC_KIND: Option<!> = None;
|
const STATIC_KIND: Option<!> = None;
|
||||||
const ENABLE_PTR_TRACKING_HOOKS: bool = false;
|
|
||||||
|
|
||||||
fn enforce_validity(_: &EvalContext<'a, 'mir, 'tcx, Self>) -> bool {
|
fn enforce_validity(_: &EvalContext<'a, 'mir, 'tcx, Self>) -> bool {
|
||||||
false
|
false
|
||||||
|
@ -334,14 +333,6 @@ impl<'a, 'mir, 'tcx> Machine<'a, 'mir, 'tcx> for TransPlaceInterpreter {
|
||||||
panic!();
|
panic!();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn tag_reference(
|
|
||||||
_: &mut EvalContext<'a, 'mir, 'tcx, Self>,
|
|
||||||
_: MPlaceTy<'tcx>,
|
|
||||||
_: Option<::rustc::hir::Mutability>,
|
|
||||||
) -> EvalResult<'tcx, Scalar> {
|
|
||||||
panic!()
|
|
||||||
}
|
|
||||||
|
|
||||||
fn tag_dereference(
|
fn tag_dereference(
|
||||||
_: &EvalContext<'a, 'mir, 'tcx, Self>,
|
_: &EvalContext<'a, 'mir, 'tcx, Self>,
|
||||||
_: MPlaceTy<'tcx>,
|
_: MPlaceTy<'tcx>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue