Skip to content

Commit 10d0a58

Browse files
committed
ADD - fixme in type_names.rs until we are able to translate InterpError
1 parent 53fabd3 commit 10d0a58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs

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

0 commit comments

Comments
 (0)