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