Rustup to rustc 1.32.0-nightly (6b9b97bd9 2018-11-15)

This commit is contained in:
bjorn3 2018-11-16 17:20:00 +01:00
parent e1811533ae
commit faf974b2e6
2 changed files with 2 additions and 10 deletions

View File

@ -648,7 +648,8 @@ fn trans_stmt<'a, 'tcx: 'a>(
| StatementKind::FakeRead(..)
| StatementKind::EndRegion(_)
| StatementKind::Retag { .. }
| StatementKind::AscribeUserType(..) => {}
| StatementKind::AscribeUserType(..)
| StatementKind::EscapeToRaw(..) => {}
StatementKind::InlineAsm { .. } => unimpl!("Inline assembly is not supported"),
}

View File

@ -283,7 +283,6 @@ impl<'a, 'mir, 'tcx> Machine<'a, 'mir, 'tcx> for TransPlaceInterpreter {
type AllocExtra = ();
type MemoryMap = FxHashMap<AllocId, (MemoryKind<!>, Allocation<()>)>;
const STATIC_KIND: Option<!> = None;
const ENABLE_PTR_TRACKING_HOOKS: bool = false;
fn enforce_validity(_: &EvalContext<'a, 'mir, 'tcx, Self>) -> bool {
false
@ -334,14 +333,6 @@ impl<'a, 'mir, 'tcx> Machine<'a, 'mir, 'tcx> for TransPlaceInterpreter {
panic!();
}
fn tag_reference(
_: &mut EvalContext<'a, 'mir, 'tcx, Self>,
_: MPlaceTy<'tcx>,
_: Option<::rustc::hir::Mutability>,
) -> EvalResult<'tcx, Scalar> {
panic!()
}
fn tag_dereference(
_: &EvalContext<'a, 'mir, 'tcx, Self>,
_: MPlaceTy<'tcx>,