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