@@ -62,23 +62,23 @@ error: `unimplemented` should not be present in production code
6262LL | unimplemented!("{} {}", "panic with", "multiple arguments");
6363 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6464
65- error: `unreachable` should not be present in production code
65+ error: usage of the `unreachable!` macro
6666 --> $DIR/panicking_macros.rs:32:5
6767 |
6868LL | unreachable!();
6969 | ^^^^^^^^^^^^^^^
7070 |
7171 = note: `-D clippy::unreachable` implied by `-D warnings`
7272
73- error: `unreachable` should not be present in production code
73+ error: usage of the `unreachable!` macro
7474 --> $DIR/panicking_macros.rs:33:5
7575 |
7676LL | unreachable!("message");
7777 | ^^^^^^^^^^^^^^^^^^^^^^^^
7878 |
7979 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
8080
81- error: `unreachable` should not be present in production code
81+ error: usage of the `unreachable!` macro
8282 --> $DIR/panicking_macros.rs:34:5
8383 |
8484LL | unreachable!("{} {}", "panic with", "multiple arguments");
@@ -102,7 +102,7 @@ error: `unimplemented` should not be present in production code
102102LL | unimplemented!();
103103 | ^^^^^^^^^^^^^^^^^
104104
105- error: `unreachable` should not be present in production code
105+ error: usage of the `unreachable!` macro
106106 --> $DIR/panicking_macros.rs:43:5
107107 |
108108LL | unreachable!();
0 commit comments