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`
28 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
30 error: `todo` should not be present in production code
31 --> $DIR/panicking_macros.rs:17:5
33 LL | todo!("message");
36 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
38 error: `todo` should not be present in production code
39 --> $DIR/panicking_macros.rs:18:5
41 LL | todo!("{} {}", "panic with", "multiple arguments");
42 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
46 error: `unimplemented` should not be present in production code
47 --> $DIR/panicking_macros.rs:24:5
49 LL | unimplemented!();
52 = note: `-D clippy::unimplemented` implied by `-D warnings`
53 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
55 error: `unimplemented` should not be present in production code
56 --> $DIR/panicking_macros.rs:25:5
58 LL | unimplemented!("message");
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
61 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
63 error: `unimplemented` should not be present in production code
64 --> $DIR/panicking_macros.rs:26:5
66 LL | unimplemented!("{} {}", "panic with", "multiple arguments");
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
69 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
71 error: usage of the `unreachable!` macro
72 --> $DIR/panicking_macros.rs:32:5
77 = note: `-D clippy::unreachable` implied by `-D warnings`
78 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
80 error: usage of the `unreachable!` macro
81 --> $DIR/panicking_macros.rs:33:5
83 LL | unreachable!("message");
84 | ^^^^^^^^^^^^^^^^^^^^^^^^
86 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
88 error: usage of the `unreachable!` macro
89 --> $DIR/panicking_macros.rs:34:5
91 LL | unreachable!("{} {}", "panic with", "multiple arguments");
92 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
94 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
96 error: `panic` should not be present in production code
97 --> $DIR/panicking_macros.rs:40:5
102 error: `todo` should not be present in production code
103 --> $DIR/panicking_macros.rs:41:5
108 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
110 error: `unimplemented` should not be present in production code
111 --> $DIR/panicking_macros.rs:42:5
113 LL | unimplemented!();
116 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
118 error: usage of the `unreachable!` macro
119 --> $DIR/panicking_macros.rs:43:5
124 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
126 error: aborting due to 16 previous errors