diff options
| author | Michael Goulet <michael@errs.io> | 2025-04-13 22:01:54 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-04-13 22:01:54 +0000 |
| commit | 2f96e784e2f2085087ababfc509fb877000299fe (patch) | |
| tree | fa098e4a5b8400963e64c7428948766ccd493f81 /compiler/rustc_middle/src/mir/pretty.rs | |
| parent | 51548ce71fe80b5ca7aef00e6f1bf2491df98c79 (diff) | |
| download | rust-2f96e784e2f2085087ababfc509fb877000299fe.tar.gz rust-2f96e784e2f2085087ababfc509fb877000299fe.zip | |
Visit place in BackwardIncompatibleDropHint statement
Diffstat (limited to 'compiler/rustc_middle/src/mir/pretty.rs')
| -rw-r--r-- | compiler/rustc_middle/src/mir/pretty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/pretty.rs b/compiler/rustc_middle/src/mir/pretty.rs index 5a038b27337..bf701e30969 100644 --- a/compiler/rustc_middle/src/mir/pretty.rs +++ b/compiler/rustc_middle/src/mir/pretty.rs @@ -859,7 +859,7 @@ impl Debug for Statement<'_> { BackwardIncompatibleDropHint { ref place, reason: _ } => { // For now, we don't record the reason because there is only one use case, // which is to report breaking change in drop order by Edition 2024 - write!(fmt, "backward incompatible drop({place:?})") + write!(fmt, "BackwardIncompatibleDropHint({place:?})") } } } |
