mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 09:27:25 +00:00
11 lines
223 B
Text
11 lines
223 B
Text
|
error: `panic` should not be present in production code
|
||
|
--> $DIR/panic.rs:6:5
|
||
|
|
|
||
|
LL | panic!();
|
||
|
| ^^^^^^^^^
|
||
|
|
|
||
|
= note: `-D clippy::panic` implied by `-D warnings`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|