1
Fork 0

Address the new odd backticks tidy lint in compiler/

This commit is contained in:
est31 2023-03-04 04:25:36 +01:00
parent 7a686bf41d
commit 7f4cc178f0
9 changed files with 10 additions and 6 deletions

View file

@ -123,6 +123,7 @@ fn dump_matched_mir_node<'tcx, F>(
// see notes on #41697 above
let def_path =
ty::print::with_forced_impl_filename_line!(tcx.def_path_str(body.source.def_id()));
// ignore-tidy-odd-backticks the literal below is fine
write!(file, "// MIR for `{}", def_path)?;
match body.source.promoted {
None => write!(file, "`")?,