]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/inert-attr-macro.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / lint / inert-attr-macro.stderr
1 warning: unused attribute `inline`
2   --> $DIR/inert-attr-macro.rs:10:5
3    |
4 LL |     #[inline] foo!();
5    |     ^^^^^^^^^
6    |
7 note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `foo`
8   --> $DIR/inert-attr-macro.rs:10:15
9    |
10 LL |     #[inline] foo!();
11    |               ^^^
12 note: the lint level is defined here
13   --> $DIR/inert-attr-macro.rs:3:9
14    |
15 LL | #![warn(unused)]
16    |         ^^^^^^
17    = note: `#[warn(unused_attributes)]` implied by `#[warn(unused)]`
18
19 warning: unused attribute `allow`
20   --> $DIR/inert-attr-macro.rs:14:5
21    |
22 LL |     #[allow(warnings)] #[inline] foo!();
23    |     ^^^^^^^^^^^^^^^^^^
24    |
25 note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `foo`
26   --> $DIR/inert-attr-macro.rs:14:34
27    |
28 LL |     #[allow(warnings)] #[inline] foo!();
29    |                                  ^^^
30
31 warning: unused attribute `inline`
32   --> $DIR/inert-attr-macro.rs:14:24
33    |
34 LL |     #[allow(warnings)] #[inline] foo!();
35    |                        ^^^^^^^^^
36    |
37 note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `foo`
38   --> $DIR/inert-attr-macro.rs:14:34
39    |
40 LL |     #[allow(warnings)] #[inline] foo!();
41    |                                  ^^^
42
43 warning: 3 warnings emitted
44