Address the new odd backticks tidy lint in compiler/
This commit is contained in:
parent
7a686bf41d
commit
7f4cc178f0
9 changed files with 10 additions and 6 deletions
|
@ -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, "`")?,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue