@@ -75,23 +75,22 @@ LL | unreachable!();
7575 | ^^^^^^^^^^^^^^
7676 |
7777 = note: `-D clippy::unreachable` implied by `-D warnings`
78- = note: this error originates in the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
7978
8079error: usage of the `unreachable!` macro
8180 --> $DIR/panicking_macros.rs:33:5
8281 |
8382LL | unreachable!("message");
8483 | ^^^^^^^^^^^^^^^^^^^^^^^
8584 |
86- = note: this error originates in the macro `$crate::unreachable ` (in Nightly builds, run with -Z macro-backtrace for more info)
85+ = note: this error originates in the macro `$crate::panic::unreachable_2021 ` (in Nightly builds, run with -Z macro-backtrace for more info)
8786
8887error: usage of the `unreachable!` macro
8988 --> $DIR/panicking_macros.rs:34:5
9089 |
9190LL | unreachable!("{} {}", "panic with", "multiple arguments");
9291 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9392 |
94- = note: this error originates in the macro `unreachable ` (in Nightly builds, run with -Z macro-backtrace for more info)
93+ = note: this error originates in the macro `$crate::panic::unreachable_2021 ` (in Nightly builds, run with -Z macro-backtrace for more info)
9594
9695error: `panic` should not be present in production code
9796 --> $DIR/panicking_macros.rs:40:5
@@ -120,8 +119,6 @@ error: usage of the `unreachable!` macro
120119 |
121120LL | unreachable!();
122121 | ^^^^^^^^^^^^^^
123- |
124- = note: this error originates in the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
125122
126123error: aborting due to 16 previous errors
127124
0 commit comments