2024-05-21 12:39:30 -05:00
|
|
|
error: `panic` should not be present in production code
|
2024-09-24 04:58:04 -05:00
|
|
|
--> tests/ui-toml/panic/panic.rs:12:14
|
2024-05-21 12:39:30 -05:00
|
|
|
|
|
|
|
|
LL | _ => panic!(""),
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::panic` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::panic)]`
|
|
|
|
|
2024-09-24 04:58:04 -05: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-21 12:39:30 -05:00
|
|
|
|