fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
535 B17 linesraw
1error: #[allow] attribute found
2  --> $DIR/allow_attributes.rs:13:3
3   |
4LL | #[allow(dead_code)]
5   |   ^^^^^ help: replace it with: `expect`
6   |
7   = note: `-D clippy::allow-attributes` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::allow_attributes)]`
9
10error: #[allow] attribute found
11  --> $DIR/allow_attributes.rs:22:30
12   |
13LL | #[cfg_attr(panic = "unwind", allow(dead_code))]
14   |                              ^^^^^ help: replace it with: `expect`
15
16error: aborting due to 2 previous errors
17