ADD - fixme in type_names.rs until we are able to translate InterpError
This commit is contained in:
parent
82cf6f204a
commit
78796ba637
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue