]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/warn-unused-inline-on-fn-prototypes.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[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