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