fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unused attribute 2 --> $DIR/lint-attribute-only-with-reason.rs:5:1 3 | 4LL | #[allow(reason = "I want to allow something")] 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute 6 | 7 = note: attribute `allow` without any lints has no effect 8note: the lint level is defined here 9 --> $DIR/lint-attribute-only-with-reason.rs:3:9 10 | 11LL | #![deny(unused_attributes)] 12 | ^^^^^^^^^^^^^^^^^ 13 14error: unused attribute 15 --> $DIR/lint-attribute-only-with-reason.rs:6:1 16 | 17LL | #[expect(reason = "I don't know what I'm waiting for")] 18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute 19 | 20 = note: attribute `expect` without any lints has no effect 21 22error: unused attribute 23 --> $DIR/lint-attribute-only-with-reason.rs:7:1 24 | 25LL | #[warn(reason = "This should be warn by default")] 26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute 27 | 28 = note: attribute `warn` without any lints has no effect 29 30error: unused attribute 31 --> $DIR/lint-attribute-only-with-reason.rs:8:1 32 | 33LL | #[deny(reason = "All listed lints are denied")] 34 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute 35 | 36 = note: attribute `deny` without any lints has no effect 37 38error: unused attribute 39 --> $DIR/lint-attribute-only-with-reason.rs:9:1 40 | 41LL | #[forbid(reason = "Just some reason")] 42 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute 43 | 44 = note: attribute `forbid` without any lints has no effect 45 46error: aborting due to 5 previous errors 47