fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: unused attribute `inline` 2 --> $DIR/inert-attr-macro.rs:10:5 3 | 4LL | #[inline] foo!(); 5 | ^^^^^^^^^ 6 | 7note: 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 | 10LL | #[inline] foo!(); 11 | ^^^ 12note: the lint level is defined here 13 --> $DIR/inert-attr-macro.rs:3:9 14 | 15LL | #![warn(unused)] 16 | ^^^^^^ 17 = note: `#[warn(unused_attributes)]` implied by `#[warn(unused)]` 18 19warning: unused attribute `allow` 20 --> $DIR/inert-attr-macro.rs:14:5 21 | 22LL | #[allow(warnings)] #[inline] foo!(); 23 | ^^^^^^^^^^^^^^^^^^ 24 | 25note: 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 | 28LL | #[allow(warnings)] #[inline] foo!(); 29 | ^^^ 30 31warning: unused attribute `inline` 32 --> $DIR/inert-attr-macro.rs:14:24 33 | 34LL | #[allow(warnings)] #[inline] foo!(); 35 | ^^^^^^^^^ 36 | 37note: 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 | 40LL | #[allow(warnings)] #[inline] foo!(); 41 | ^^^ 42 43warning: 3 warnings emitted 44