]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-49934.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-49934.stderr
CommitLineData
0531ce1d 1warning: `#[derive]` does nothing on macro invocations
e1599b0c 2 --> $DIR/issue-49934.rs:13:5
0531ce1d
XL
3 |
4LL | #[derive(Debug)]
5 | ^^^^^^^^^^^^^^^^
6 |
7 = note: this may become a hard error in a future release
8
9warning: unused attribute
e1599b0c 10 --> $DIR/issue-49934.rs:19:5
0531ce1d 11 |
e1599b0c
XL
12LL | #[derive(Debug)]
13 | ^^^^^^^^^^^^^^^^
0531ce1d 14 |
74b04a01 15note: the lint level is defined here
0731742a 16 --> $DIR/issue-49934.rs:4:9
0531ce1d 17 |
532ac7d7 18LL | #![warn(unused_attributes)]
0531ce1d
XL
19 | ^^^^^^^^^^^^^^^^^
20
21warning: unused attribute
e1599b0c 22 --> $DIR/issue-49934.rs:23:5
0531ce1d 23 |
532ac7d7 24LL | #[derive(Debug)]
0531ce1d
XL
25 | ^^^^^^^^^^^^^^^^
26
27warning: unused attribute
e1599b0c 28 --> $DIR/issue-49934.rs:27:13
83c7162d
XL
29 |
30LL | let _ = #[derive(Debug)] "Hello, world!";
31 | ^^^^^^^^^^^^^^^^
32
33warning: unused attribute
e1599b0c 34 --> $DIR/issue-49934.rs:32:9
0531ce1d 35 |
532ac7d7 36LL | #[derive(Debug)]
0531ce1d
XL
37 | ^^^^^^^^^^^^^^^^
38
ba9703b0
XL
39warning: 5 warnings emitted
40