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 error: `panic` should not be present in production code
16 --> $DIR/panicking_macros.rs:10:5
18 LL | panic!("{} {}", "panic with", "multiple arguments");
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21 error: `todo` should not be present in production code
22 --> $DIR/panicking_macros.rs:16:5
27 = note: `-D clippy::todo` implied by `-D warnings`
29 error: `todo` should not be present in production code
30 --> $DIR/panicking_macros.rs:17:5
32 LL | todo!("message");
35 error: `todo` should not be present in production code
36 --> $DIR/panicking_macros.rs:18:5
38 LL | todo!("{} {}", "panic with", "multiple arguments");
39 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
41 error: `unimplemented` should not be present in production code
42 --> $DIR/panicking_macros.rs:24:5
44 LL | unimplemented!();
47 = note: `-D clippy::unimplemented` implied by `-D warnings`
49 error: `unimplemented` should not be present in production code
50 --> $DIR/panicking_macros.rs:25:5
52 LL | unimplemented!("message");
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^
55 error: `unimplemented` should not be present in production code
56 --> $DIR/panicking_macros.rs:26:5
58 LL | unimplemented!("{} {}", "panic with", "multiple arguments");
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
61 error: usage of the `unreachable!` macro
62 --> $DIR/panicking_macros.rs:32:5
67 = note: `-D clippy::unreachable` implied by `-D warnings`
69 error: usage of the `unreachable!` macro
70 --> $DIR/panicking_macros.rs:33:5
72 LL | unreachable!("message");
73 | ^^^^^^^^^^^^^^^^^^^^^^^
75 error: usage of the `unreachable!` macro
76 --> $DIR/panicking_macros.rs:34:5
78 LL | unreachable!("{} {}", "panic with", "multiple arguments");
79 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81 error: `panic` should not be present in production code
82 --> $DIR/panicking_macros.rs:40:5
87 error: `todo` should not be present in production code
88 --> $DIR/panicking_macros.rs:41:5
93 error: `unimplemented` should not be present in production code
94 --> $DIR/panicking_macros.rs:42:5
96 LL | unimplemented!();
99 error: usage of the `unreachable!` macro
100 --> $DIR/panicking_macros.rs:43:5
105 error: aborting due to 16 previous errors