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