11error: `panic` should not be present in production code
2-   --> tests/ui/panicking_macros.rs:22:5 
2+   --> tests/ui/panicking_macros.rs:8:9 
33   |
4- LL |     panic!();
5-    |     ^^^^^^^^
4+ LL |          panic!("A balanced diet means a cupcake in each hand" );
5+    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^
66   |
77   = note: `-D clippy::panic` implied by `-D warnings`
88   = help: to override `-D warnings` add `#[allow(clippy::panic)]`
99
1010error: `panic` should not be present in production code
11-   --> tests/ui/panicking_macros.rs:25:5
11+   --> tests/ui/panicking_macros.rs:16:13
12+    |
13+ LL |             panic!("When nothing goes right, go left")
14+    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15+ 
16+ error: `panic` should not be present in production code
17+   --> tests/ui/panicking_macros.rs:24:5
18+    |
19+ LL |     panic!();
20+    |     ^^^^^^^^
21+ 
22+ error: `panic` should not be present in production code
23+   --> tests/ui/panicking_macros.rs:27:5
1224   |
1325LL |     panic!("message");
1426   |     ^^^^^^^^^^^^^^^^^
1527
1628error: `panic` should not be present in production code
17-   --> tests/ui/panicking_macros.rs:28 :5
29+   --> tests/ui/panicking_macros.rs:30 :5
1830   |
1931LL |     panic!("{} {}", "panic with", "multiple arguments");
2032   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2133
2234error: `todo` should not be present in production code
23-   --> tests/ui/panicking_macros.rs:36 :5
35+   --> tests/ui/panicking_macros.rs:38 :5
2436   |
2537LL |     todo!();
2638   |     ^^^^^^^
@@ -29,19 +41,19 @@ LL |     todo!();
2941   = help: to override `-D warnings` add `#[allow(clippy::todo)]`
3042
3143error: `todo` should not be present in production code
32-   --> tests/ui/panicking_macros.rs:39 :5
44+   --> tests/ui/panicking_macros.rs:41 :5
3345   |
3446LL |     todo!("message");
3547   |     ^^^^^^^^^^^^^^^^
3648
3749error: `todo` should not be present in production code
38-   --> tests/ui/panicking_macros.rs:42 :5
50+   --> tests/ui/panicking_macros.rs:44 :5
3951   |
4052LL |     todo!("{} {}", "panic with", "multiple arguments");
4153   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4254
4355error: `unimplemented` should not be present in production code
44-   --> tests/ui/panicking_macros.rs:50 :5
56+   --> tests/ui/panicking_macros.rs:52 :5
4557   |
4658LL |     unimplemented!();
4759   |     ^^^^^^^^^^^^^^^^
@@ -50,19 +62,19 @@ LL |     unimplemented!();
5062   = help: to override `-D warnings` add `#[allow(clippy::unimplemented)]`
5163
5264error: `unimplemented` should not be present in production code
53-   --> tests/ui/panicking_macros.rs:53 :5
65+   --> tests/ui/panicking_macros.rs:55 :5
5466   |
5567LL |     unimplemented!("message");
5668   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
5769
5870error: `unimplemented` should not be present in production code
59-   --> tests/ui/panicking_macros.rs:56 :5
71+   --> tests/ui/panicking_macros.rs:58 :5
6072   |
6173LL |     unimplemented!("{} {}", "panic with", "multiple arguments");
6274   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6375
6476error: usage of the `unreachable!` macro
65-   --> tests/ui/panicking_macros.rs:64 :5
77+   --> tests/ui/panicking_macros.rs:66 :5
6678   |
6779LL |     unreachable!();
6880   |     ^^^^^^^^^^^^^^
@@ -71,40 +83,40 @@ LL |     unreachable!();
7183   = help: to override `-D warnings` add `#[allow(clippy::unreachable)]`
7284
7385error: usage of the `unreachable!` macro
74-   --> tests/ui/panicking_macros.rs:67 :5
86+   --> tests/ui/panicking_macros.rs:69 :5
7587   |
7688LL |     unreachable!("message");
7789   |     ^^^^^^^^^^^^^^^^^^^^^^^
7890
7991error: usage of the `unreachable!` macro
80-   --> tests/ui/panicking_macros.rs:70 :5
92+   --> tests/ui/panicking_macros.rs:72 :5
8193   |
8294LL |     unreachable!("{} {}", "panic with", "multiple arguments");
8395   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8496
8597error: `panic` should not be present in production code
86-   --> tests/ui/panicking_macros.rs:78 :5
98+   --> tests/ui/panicking_macros.rs:80 :5
8799   |
88100LL |     panic!();
89101   |     ^^^^^^^^
90102
91103error: `todo` should not be present in production code
92-   --> tests/ui/panicking_macros.rs:81 :5
104+   --> tests/ui/panicking_macros.rs:83 :5
93105   |
94106LL |     todo!();
95107   |     ^^^^^^^
96108
97109error: `unimplemented` should not be present in production code
98-   --> tests/ui/panicking_macros.rs:84 :5
110+   --> tests/ui/panicking_macros.rs:86 :5
99111   |
100112LL |     unimplemented!();
101113   |     ^^^^^^^^^^^^^^^^
102114
103115error: usage of the `unreachable!` macro
104-   --> tests/ui/panicking_macros.rs:87 :5
116+   --> tests/ui/panicking_macros.rs:89 :5
105117   |
106118LL |     unreachable!();
107119   |     ^^^^^^^^^^^^^^
108120
109- error: aborting due to 16  previous errors
121+ error: aborting due to 18  previous errors
110122
0 commit comments