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

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

error: aborting due to 2 previous errors