2024-05-15 10:59:35 +00:00
|
|
|
error: `panic` should not be present in production code
|
2024-08-24 14:29:11 +00:00
|
|
|
--> tests/ui-toml/panic/panic.rs:12:14
|
2024-05-15 10:59:35 +00:00
|
|
|
|
|
|
|
|
LL | _ => panic!(""),
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::panic` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::panic)]`
|
|
|
|
|
2024-08-24 14:29:11 +00:00
|
|
|
error: `panic_any` should not be present in production code
|
|
|
|
--> tests/ui-toml/panic/panic.rs:17:5
|
|
|
|
|
|
|
|
|
LL | panic_any("should lint")
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2024-05-15 10:59:35 +00:00
|
|
|
|