mirror of https://github.com/rust-lang/rust
21 lines
509 B
Plaintext
21 lines
509 B
Plaintext
error: `#[inline]` is ignored on function prototypes
|
|
--> $DIR/warn-unused-inline-on-fn-prototypes.rs:4:5
|
|
|
|
|
LL | #[inline]
|
|
| ^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/warn-unused-inline-on-fn-prototypes.rs:1:9
|
|
|
|
|
LL | #![deny(unused_attributes)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[inline]` is ignored on function prototypes
|
|
--> $DIR/warn-unused-inline-on-fn-prototypes.rs:9:5
|
|
|
|
|
LL | #[inline]
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|