@@ -62,23 +62,23 @@ error: `unimplemented` should not be present in production code
62
62
LL | unimplemented!("{} {}", "panic with", "multiple arguments");
63
63
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
64
64
65
- error: `unreachable` should not be present in production code
65
+ error: usage of the `unreachable!` macro
66
66
--> $DIR/panicking_macros.rs:32:5
67
67
|
68
68
LL | unreachable!();
69
69
| ^^^^^^^^^^^^^^^
70
70
|
71
71
= note: `-D clippy::unreachable` implied by `-D warnings`
72
72
73
- error: `unreachable` should not be present in production code
73
+ error: usage of the `unreachable!` macro
74
74
--> $DIR/panicking_macros.rs:33:5
75
75
|
76
76
LL | unreachable!("message");
77
77
| ^^^^^^^^^^^^^^^^^^^^^^^^
78
78
|
79
79
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
80
80
81
- error: `unreachable` should not be present in production code
81
+ error: usage of the `unreachable!` macro
82
82
--> $DIR/panicking_macros.rs:34:5
83
83
|
84
84
LL | unreachable!("{} {}", "panic with", "multiple arguments");
@@ -102,7 +102,7 @@ error: `unimplemented` should not be present in production code
102
102
LL | unimplemented!();
103
103
| ^^^^^^^^^^^^^^^^^
104
104
105
- error: `unreachable` should not be present in production code
105
+ error: usage of the `unreachable!` macro
106
106
--> $DIR/panicking_macros.rs:43:5
107
107
|
108
108
LL | unreachable!();
0 commit comments