]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/panicking_macros.stderr
Use `summary_opts()` in another spot
[rust.git] / src / tools / clippy / 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    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
16
17 error: `panic` should not be present in production code
18   --> $DIR/panicking_macros.rs:10:5
19    |
20 LL |     panic!("{} {}", "panic with", "multiple arguments");
21    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22    |
23    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
24
25 error: `todo` should not be present in production code
26   --> $DIR/panicking_macros.rs:16:5
27    |
28 LL |     todo!();
29    |     ^^^^^^^^
30    |
31    = note: `-D clippy::todo` implied by `-D warnings`
32
33 error: `todo` should not be present in production code
34   --> $DIR/panicking_macros.rs:17:5
35    |
36 LL |     todo!("message");
37    |     ^^^^^^^^^^^^^^^^^
38
39 error: `todo` should not be present in production code
40   --> $DIR/panicking_macros.rs:18:5
41    |
42 LL |     todo!("{} {}", "panic with", "multiple arguments");
43    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44
45 error: `unimplemented` should not be present in production code
46   --> $DIR/panicking_macros.rs:24:5
47    |
48 LL |     unimplemented!();
49    |     ^^^^^^^^^^^^^^^^^
50    |
51    = note: `-D clippy::unimplemented` implied by `-D warnings`
52
53 error: `unimplemented` should not be present in production code
54   --> $DIR/panicking_macros.rs:25:5
55    |
56 LL |     unimplemented!("message");
57    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
58
59 error: `unimplemented` should not be present in production code
60   --> $DIR/panicking_macros.rs:26:5
61    |
62 LL |     unimplemented!("{} {}", "panic with", "multiple arguments");
63    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
64
65 error: `unreachable` should not be present in production code
66   --> $DIR/panicking_macros.rs:32:5
67    |
68 LL |     unreachable!();
69    |     ^^^^^^^^^^^^^^^
70    |
71    = note: `-D clippy::unreachable` implied by `-D warnings`
72
73 error: `unreachable` should not be present in production code
74   --> $DIR/panicking_macros.rs:33:5
75    |
76 LL |     unreachable!("message");
77    |     ^^^^^^^^^^^^^^^^^^^^^^^^
78    |
79    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
80
81 error: `unreachable` should not be present in production code
82   --> $DIR/panicking_macros.rs:34:5
83    |
84 LL |     unreachable!("{} {}", "panic with", "multiple arguments");
85    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86
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
112