]> git.lizzy.rs Git - rust.git/blob - tests/ui/panicking_macros.stderr
Auto merge of #68717 - petrochenkov:stabexpat, r=varkor
[rust.git] / tests / ui / panicking_macros.stderr
1 error: `panic` should not be present in production code
2   --> $DIR/panicking_macros.rs:6:5
3    |
4 LL |     panic!();
5    |     ^^^^^^^^^
6    |
7    = note: `-D clippy::panic` implied by `-D warnings`
8
9 error: `todo` should not be present in production code
10   --> $DIR/panicking_macros.rs:12:5
11    |
12 LL |     todo!();
13    |     ^^^^^^^^
14    |
15    = note: `-D clippy::todo` implied by `-D warnings`
16
17 error: `unimplemented` should not be present in production code
18   --> $DIR/panicking_macros.rs:18:5
19    |
20 LL |     unimplemented!();
21    |     ^^^^^^^^^^^^^^^^^
22    |
23    = note: `-D clippy::unimplemented` implied by `-D warnings`
24
25 error: `unreachable` should not be present in production code
26   --> $DIR/panicking_macros.rs:24:5
27    |
28 LL |     unreachable!();
29    |     ^^^^^^^^^^^^^^^
30    |
31    = note: `-D clippy::unreachable` implied by `-D warnings`
32
33 error: aborting due to 4 previous errors
34