summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/allow_attributes.stderr
blob: 681837e9ed770aea6f3ace0ee5e88c02b72e9f28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: #[allow] attribute found
  --> $DIR/allow_attributes.rs:11:3
   |
LL | #[allow(dead_code)]
   |   ^^^^^ help: replace it with: `expect`
   |
   = note: `-D clippy::allow-attributes` implied by `-D warnings`

error: #[allow] attribute found
  --> $DIR/allow_attributes.rs:20:30
   |
LL | #[cfg_attr(panic = "unwind", allow(dead_code))]
   |                              ^^^^^ help: replace it with: `expect`

error: aborting due to 2 previous errors