Rustup to rustc 1.31.0-nightly (cae6efc37
2018-10-27)
This commit is contained in:
parent
52ab6583dc
commit
172e705b27
1 changed files with 1 additions and 7 deletions
|
@ -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"),
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue