mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-24 12:03:28 +00:00
12 lines
330 B
Text
12 lines
330 B
Text
|
error: `panic` should not be present in production code
|
||
|
--> tests/ui-toml/panic/panic.rs:11:14
|
||
|
|
|
||
|
LL | _ => panic!(""),
|
||
|
| ^^^^^^^^^^
|
||
|
|
|
||
|
= note: `-D clippy::panic` implied by `-D warnings`
|
||
|
= help: to override `-D warnings` add `#[allow(clippy::panic)]`
|
||
|
|
||
|
error: aborting due to 1 previous error
|
||
|
|