]> git.lizzy.rs Git - rust.git/blob - tests/ui/panicking_macros.stderr
Auto merge of #8374 - Alexendoo:bless-revisions, r=camsteffen
[rust.git] / tests / ui / panicking_macros.stderr
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
29 error: `todo` should not be present in production code
30   --> $DIR/panicking_macros.rs:17:5
31    |
32 LL |     todo!("message");
33    |     ^^^^^^^^^^^^^^^^
34
35 error: `todo` should not be present in production code
36   --> $DIR/panicking_macros.rs:18:5
37    |
38 LL |     todo!("{} {}", "panic with", "multiple arguments");
39    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40
41 error: `unimplemented` should not be present in production code
42   --> $DIR/panicking_macros.rs:24:5
43    |
44 LL |     unimplemented!();
45    |     ^^^^^^^^^^^^^^^^
46    |
47    = note: `-D clippy::unimplemented` implied by `-D warnings`
48
49 error: `unimplemented` should not be present in production code
50   --> $DIR/panicking_macros.rs:25:5
51    |
52 LL |     unimplemented!("message");
53    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
54
55 error: `unimplemented` should not be present in production code
56   --> $DIR/panicking_macros.rs:26:5
57    |
58 LL |     unimplemented!("{} {}", "panic with", "multiple arguments");
59    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
60
61 error: usage of the `unreachable!` macro
62   --> $DIR/panicking_macros.rs:32:5
63    |
64 LL |     unreachable!();
65    |     ^^^^^^^^^^^^^^
66    |
67    = note: `-D clippy::unreachable` implied by `-D warnings`
68
69 error: usage of the `unreachable!` macro
70   --> $DIR/panicking_macros.rs:33:5
71    |
72 LL |     unreachable!("message");
73    |     ^^^^^^^^^^^^^^^^^^^^^^^
74
75 error: usage of the `unreachable!` macro
76   --> $DIR/panicking_macros.rs:34:5
77    |
78 LL |     unreachable!("{} {}", "panic with", "multiple arguments");
79    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
80
81 error: `panic` should not be present in production code
82   --> $DIR/panicking_macros.rs:40:5
83    |
84 LL |     panic!();
85    |     ^^^^^^^^
86
87 error: `todo` should not be present in production code
88   --> $DIR/panicking_macros.rs:41:5
89    |
90 LL |     todo!();
91    |     ^^^^^^^
92
93 error: `unimplemented` should not be present in production code
94   --> $DIR/panicking_macros.rs:42:5
95    |
96 LL |     unimplemented!();
97    |     ^^^^^^^^^^^^^^^^
98
99 error: usage of the `unreachable!` macro
100   --> $DIR/panicking_macros.rs:43:5
101    |
102 LL |     unreachable!();
103    |     ^^^^^^^^^^^^^^
104
105 error: aborting due to 16 previous errors
106