summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/should_panic_without_expect.stderr
blob: dfcef52a9f5f419c8121ca6cfa51edd49f35601e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: #[should_panic] attribute without a reason
  --> $DIR/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
  --> $DIR/should_panic_without_expect.rs:2:9
   |
LL | #![deny(clippy::should_panic_without_expect)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error