Use translatable diagnostics in rustc_const_eval
This commit is contained in:
parent
642c92e630
commit
4f83717cf7
93 changed files with 2375 additions and 1123 deletions
|
@ -526,7 +526,7 @@ fn virtual_call_violation_for_method<'tcx>(
|
|||
// #78372
|
||||
tcx.sess.delay_span_bug(
|
||||
tcx.def_span(method.def_id),
|
||||
format!("error: {}\n while computing layout for type {:?}", err, ty),
|
||||
format!("error: {err}\n while computing layout for type {ty:?}"),
|
||||
);
|
||||
None
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue