ADD - fixme in type_names.rs until we are able to translate InterpError

This commit is contained in:
Jhonny Bill Mena 2022-11-05 23:54:42 -04:00
parent 82cf6f204a
commit 78796ba637

View file

@ -93,6 +93,7 @@ fn push_debuginfo_type_name<'tcx>(
Err(e) => {
// Computing the layout can still fail here, e.g. if the target architecture
// cannot represent the type. See https://github.com/rust-lang/rust/issues/94961.
// FIXME: migrate once `rustc_middle::mir::interpret::InterpError` is translatable.
tcx.sess.fatal(&format!("{}", e));
}
}