|
1 | 1 | error: `panic` should not be present in production code
|
2 |
| - --> $DIR/panicking_macros.rs:23:5 |
| 2 | + --> $DIR/panicking_macros.rs:22:5 |
3 | 3 | |
|
4 | 4 | LL | panic!();
|
5 | 5 | | ^^^^^^^^
|
6 | 6 | |
|
7 | 7 | = note: `-D clippy::panic` implied by `-D warnings`
|
8 | 8 |
|
9 | 9 | error: `panic` should not be present in production code
|
10 |
| - --> $DIR/panicking_macros.rs:24:5 |
| 10 | + --> $DIR/panicking_macros.rs:23:5 |
11 | 11 | |
|
12 | 12 | LL | panic!("message");
|
13 | 13 | | ^^^^^^^^^^^^^^^^^
|
14 | 14 |
|
15 | 15 | error: `panic` should not be present in production code
|
16 |
| - --> $DIR/panicking_macros.rs:25:5 |
| 16 | + --> $DIR/panicking_macros.rs:24:5 |
17 | 17 | |
|
18 | 18 | LL | panic!("{} {}", "panic with", "multiple arguments");
|
19 | 19 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
20 | 20 |
|
21 | 21 | error: `todo` should not be present in production code
|
22 |
| - --> $DIR/panicking_macros.rs:31:5 |
| 22 | + --> $DIR/panicking_macros.rs:30:5 |
23 | 23 | |
|
24 | 24 | LL | todo!();
|
25 | 25 | | ^^^^^^^
|
26 | 26 | |
|
27 | 27 | = note: `-D clippy::todo` implied by `-D warnings`
|
28 | 28 |
|
29 | 29 | error: `todo` should not be present in production code
|
30 |
| - --> $DIR/panicking_macros.rs:32:5 |
| 30 | + --> $DIR/panicking_macros.rs:31:5 |
31 | 31 | |
|
32 | 32 | LL | todo!("message");
|
33 | 33 | | ^^^^^^^^^^^^^^^^
|
34 | 34 |
|
35 | 35 | error: `todo` should not be present in production code
|
36 |
| - --> $DIR/panicking_macros.rs:33:5 |
| 36 | + --> $DIR/panicking_macros.rs:32:5 |
37 | 37 | |
|
38 | 38 | LL | todo!("{} {}", "panic with", "multiple arguments");
|
39 | 39 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
40 | 40 |
|
41 | 41 | error: `unimplemented` should not be present in production code
|
42 |
| - --> $DIR/panicking_macros.rs:39:5 |
| 42 | + --> $DIR/panicking_macros.rs:38:5 |
43 | 43 | |
|
44 | 44 | LL | unimplemented!();
|
45 | 45 | | ^^^^^^^^^^^^^^^^
|
46 | 46 | |
|
47 | 47 | = note: `-D clippy::unimplemented` implied by `-D warnings`
|
48 | 48 |
|
49 | 49 | error: `unimplemented` should not be present in production code
|
50 |
| - --> $DIR/panicking_macros.rs:40:5 |
| 50 | + --> $DIR/panicking_macros.rs:39:5 |
51 | 51 | |
|
52 | 52 | LL | unimplemented!("message");
|
53 | 53 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
54 | 54 |
|
55 | 55 | error: `unimplemented` should not be present in production code
|
56 |
| - --> $DIR/panicking_macros.rs:41:5 |
| 56 | + --> $DIR/panicking_macros.rs:40:5 |
57 | 57 | |
|
58 | 58 | LL | unimplemented!("{} {}", "panic with", "multiple arguments");
|
59 | 59 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
60 | 60 |
|
61 | 61 | error: usage of the `unreachable!` macro
|
62 |
| - --> $DIR/panicking_macros.rs:47:5 |
| 62 | + --> $DIR/panicking_macros.rs:46:5 |
63 | 63 | |
|
64 | 64 | LL | unreachable!();
|
65 | 65 | | ^^^^^^^^^^^^^^
|
66 | 66 | |
|
67 | 67 | = note: `-D clippy::unreachable` implied by `-D warnings`
|
68 | 68 |
|
69 | 69 | error: usage of the `unreachable!` macro
|
70 |
| - --> $DIR/panicking_macros.rs:48:5 |
| 70 | + --> $DIR/panicking_macros.rs:47:5 |
71 | 71 | |
|
72 | 72 | LL | unreachable!("message");
|
73 | 73 | | ^^^^^^^^^^^^^^^^^^^^^^^
|
74 | 74 |
|
75 | 75 | error: usage of the `unreachable!` macro
|
76 |
| - --> $DIR/panicking_macros.rs:49:5 |
| 76 | + --> $DIR/panicking_macros.rs:48:5 |
77 | 77 | |
|
78 | 78 | LL | unreachable!("{} {}", "panic with", "multiple arguments");
|
79 | 79 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
80 | 80 |
|
81 | 81 | error: `panic` should not be present in production code
|
82 |
| - --> $DIR/panicking_macros.rs:55:5 |
| 82 | + --> $DIR/panicking_macros.rs:54:5 |
83 | 83 | |
|
84 | 84 | LL | panic!();
|
85 | 85 | | ^^^^^^^^
|
86 | 86 |
|
87 | 87 | error: `todo` should not be present in production code
|
88 |
| - --> $DIR/panicking_macros.rs:56:5 |
| 88 | + --> $DIR/panicking_macros.rs:55:5 |
89 | 89 | |
|
90 | 90 | LL | todo!();
|
91 | 91 | | ^^^^^^^
|
92 | 92 |
|
93 | 93 | error: `unimplemented` should not be present in production code
|
94 |
| - --> $DIR/panicking_macros.rs:57:5 |
| 94 | + --> $DIR/panicking_macros.rs:56:5 |
95 | 95 | |
|
96 | 96 | LL | unimplemented!();
|
97 | 97 | | ^^^^^^^^^^^^^^^^
|
98 | 98 |
|
99 | 99 | error: usage of the `unreachable!` macro
|
100 |
| - --> $DIR/panicking_macros.rs:58:5 |
| 100 | + --> $DIR/panicking_macros.rs:57:5 |
101 | 101 | |
|
102 | 102 | LL | unreachable!();
|
103 | 103 | | ^^^^^^^^^^^^^^
|
|
0 commit comments