@@ -75,23 +75,22 @@ LL | unreachable!();
75
75
| ^^^^^^^^^^^^^^
76
76
|
77
77
= 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)
79
78
80
79
error: usage of the `unreachable!` macro
81
80
--> $DIR/panicking_macros.rs:33:5
82
81
|
83
82
LL | unreachable!("message");
84
83
| ^^^^^^^^^^^^^^^^^^^^^^^
85
84
|
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)
87
86
88
87
error: usage of the `unreachable!` macro
89
88
--> $DIR/panicking_macros.rs:34:5
90
89
|
91
90
LL | unreachable!("{} {}", "panic with", "multiple arguments");
92
91
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93
92
|
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)
95
94
96
95
error: `panic` should not be present in production code
97
96
--> $DIR/panicking_macros.rs:40:5
@@ -120,8 +119,6 @@ error: usage of the `unreachable!` macro
120
119
|
121
120
LL | unreachable!();
122
121
| ^^^^^^^^^^^^^^
123
- |
124
- = note: this error originates in the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
125
122
126
123
error: aborting due to 16 previous errors
127
124
0 commit comments