fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
852 B38 linesraw
1warning: `#[derive]` does nothing on macro invocations
2  --> $DIR/issue-49934.rs:13:5
3   |
4LL |     #[derive(Debug)]
5   |     ^^^^^^^^^^^^^^^^
6   |
7   = note: this may become a hard error in a future release
8
9warning: unused attribute
10  --> $DIR/issue-49934.rs:19:5
11   |
12LL |     #[derive(Debug)]
13   |     ^^^^^^^^^^^^^^^^
14   |
15note: the lint level is defined here
16  --> $DIR/issue-49934.rs:4:9
17   |
18LL | #![warn(unused_attributes)]
19   |         ^^^^^^^^^^^^^^^^^
20
21warning: unused attribute
22  --> $DIR/issue-49934.rs:23:5
23   |
24LL |     #[derive(Debug)]
25   |     ^^^^^^^^^^^^^^^^
26
27warning: unused attribute
28  --> $DIR/issue-49934.rs:27:13
29   |
30LL |     let _ = #[derive(Debug)] "Hello, world!";
31   |             ^^^^^^^^^^^^^^^^
32
33warning: unused attribute
34  --> $DIR/issue-49934.rs:32:9
35   |
36LL |         #[derive(Debug)]
37   |         ^^^^^^^^^^^^^^^^
38