Skip to content

Commit

Permalink
Rustup to rustc 1.31.0-nightly (cae6efc 2018-10-27)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Oct 28, 2018
1 parent 52ab658 commit 172e705
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,10 @@ pub fn trans_mono_item<'a, 'tcx: 'a>(
.unwrap();
String::from_utf8(mir.into_inner()).unwrap()
}
InstanceDef::Item(_)
| InstanceDef::DropGlue(_, _)
| InstanceDef::Virtual(_, _)
| InstanceDef::FnPtrShim(_, _)
| InstanceDef::ClosureOnceShim { .. }
| InstanceDef::CloneShim(_, _) => {
_ => {
// FIXME fix write_mir_pretty for these instances
format!("{:#?}", tcx.instance_mir(inst.def))
}
InstanceDef::Intrinsic(_) => bug!("tried to codegen intrinsic"),
}
});

Expand Down

0 comments on commit 172e705

Please sign in to comment.