mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
11 lines
330 B
Text
11 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
|
|
|