diff options
| author | est31 <MTest31@outlook.com> | 2023-03-04 04:25:36 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2023-03-11 20:40:18 +0100 |
| commit | 7f4cc178f07fca98aee1b58bb4f82b2f45f8afac (patch) | |
| tree | 41c6dcf644b73c38a8246ce82c1061814231d016 /compiler/rustc_middle/src | |
| parent | 7a686bf41dbaf065203336c1e99e0406de621587 (diff) | |
Address the new odd backticks tidy lint in compiler/
Diffstat (limited to 'compiler/rustc_middle/src')
| -rw-r--r-- | compiler/rustc_middle/src/mir/pretty.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/mir/pretty.rs b/compiler/rustc_middle/src/mir/pretty.rs index d8829e3e782..7e51953599d 100644 --- a/compiler/rustc_middle/src/mir/pretty.rs +++ b/compiler/rustc_middle/src/mir/pretty.rs @@ -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, "`")?, |
