summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/allow_attributes.stderr
blob: 10dac0bc8080825e9f0adf261229e8274c92321a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
error: #[allow] attribute found
  --> tests/ui/allow_attributes.rs:12: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
  --> tests/ui/allow_attributes.rs:21:30
   |
LL | #[cfg_attr(panic = "unwind", allow(dead_code))]
   |                              ^^^^^ help: replace it with: `expect`

error: #[allow] attribute found
  --> tests/ui/allow_attributes.rs:52:7
   |
LL |     #[allow(unused)]
   |       ^^^^^ help: replace it with: `expect`

error: #[allow] attribute found
  --> tests/ui/allow_attributes.rs:52:7
   |
LL |     #[allow(unused)]
   |       ^^^^^ help: replace it with: `expect`
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error: aborting due to 4 previous errors