rust-clippy/tests/ui/should_panic_without_expect.stderr

15 lines
482 B
Text
Raw Normal View History

error: #[should_panic] attribute without a reason
2024-02-17 12:16:29 +00:00
--> tests/ui/should_panic_without_expect.rs:5:1
|
LL | #[should_panic]
| ^^^^^^^^^^^^^^^ help: consider specifying the expected panic: `#[should_panic(expected = /* panic message */)]`
|
note: the lint level is defined here
2024-02-17 12:16:29 +00:00
--> tests/ui/should_panic_without_expect.rs:2:9
|
LL | #![deny(clippy::should_panic_without_expect)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error