1 error: `panic` should not be present in production code
2 --> $DIR/panicking_macros.rs:8:5
7 = note: `-D clippy::panic` implied by `-D warnings`
9 error: `panic` should not be present in production code
10 --> $DIR/panicking_macros.rs:9:5
12 LL | panic!("message");
15 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
17 error: `panic` should not be present in production code
18 --> $DIR/panicking_macros.rs:10:5
20 LL | panic!("{} {}", "panic with", "multiple arguments");
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
25 error: `todo` should not be present in production code
26 --> $DIR/panicking_macros.rs:16:5
31 = note: `-D clippy::todo` implied by `-D warnings`
33 error: `todo` should not be present in production code
34 --> $DIR/panicking_macros.rs:17:5
36 LL | todo!("message");
39 error: `todo` should not be present in production code
40 --> $DIR/panicking_macros.rs:18:5
42 LL | todo!("{} {}", "panic with", "multiple arguments");
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
45 error: `unimplemented` should not be present in production code
46 --> $DIR/panicking_macros.rs:24:5
48 LL | unimplemented!();
51 = note: `-D clippy::unimplemented` implied by `-D warnings`
53 error: `unimplemented` should not be present in production code
54 --> $DIR/panicking_macros.rs:25:5
56 LL | unimplemented!("message");
57 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
59 error: `unimplemented` should not be present in production code
60 --> $DIR/panicking_macros.rs:26:5
62 LL | unimplemented!("{} {}", "panic with", "multiple arguments");
63 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
65 error: usage of the `unreachable!` macro
66 --> $DIR/panicking_macros.rs:32:5
71 = note: `-D clippy::unreachable` implied by `-D warnings`
73 error: usage of the `unreachable!` macro
74 --> $DIR/panicking_macros.rs:33:5
76 LL | unreachable!("message");
77 | ^^^^^^^^^^^^^^^^^^^^^^^^
79 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
81 error: usage of the `unreachable!` macro
82 --> $DIR/panicking_macros.rs:34:5
84 LL | unreachable!("{} {}", "panic with", "multiple arguments");
85 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
87 error: `panic` should not be present in production code
88 --> $DIR/panicking_macros.rs:40:5
93 error: `todo` should not be present in production code
94 --> $DIR/panicking_macros.rs:41:5
99 error: `unimplemented` should not be present in production code
100 --> $DIR/panicking_macros.rs:42:5
102 LL | unimplemented!();
105 error: usage of the `unreachable!` macro
106 --> $DIR/panicking_macros.rs:43:5
111 error: aborting due to 16 previous errors