]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/warn-unused-inline-on-fn-prototypes.stderr
Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22
[rust.git] / src / test / ui / lint / warn-unused-inline-on-fn-prototypes.stderr
1 error: `#[inline]` is ignored on function prototypes
2   --> $DIR/warn-unused-inline-on-fn-prototypes.rs:4:5
3    |
4 LL |     #[inline]
5    |     ^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/warn-unused-inline-on-fn-prototypes.rs:1:9
9    |
10 LL | #![deny(unused_attributes)]
11    |         ^^^^^^^^^^^^^^^^^
12
13 error: `#[inline]` is ignored on function prototypes
14   --> $DIR/warn-unused-inline-on-fn-prototypes.rs:9:5
15    |
16 LL |     #[inline]
17    |     ^^^^^^^^^
18
19 error: aborting due to 2 previous errors
20