]> git.lizzy.rs Git - rust.git/blob - tests/ui/inline_fn_without_body.stderr
Merge branch 'master' of github.com:Manishearth/rust-clippy into fold_any
[rust.git] / tests / ui / inline_fn_without_body.stderr
1 error: use of `#[inline]` on trait method `default_inline` which has no body
2  --> $DIR/inline_fn_without_body.rs:8:5
3   |
4 8 |       #[inline]
5   |  _____-^^^^^^^^
6 9 | |     fn default_inline();
7   | |____- help: remove
8   |
9   = note: `-D inline-fn-without-body` implied by `-D warnings`
10
11 error: use of `#[inline]` on trait method `always_inline` which has no body
12   --> $DIR/inline_fn_without_body.rs:11:5
13    |
14 11 |     #[inline(always)]fn always_inline();
15    |     ^^^^^^^^^^^^^^^^^ help: remove
16
17 error: use of `#[inline]` on trait method `never_inline` which has no body
18   --> $DIR/inline_fn_without_body.rs:13:5
19    |
20 13 |       #[inline(never)]
21    |  _____-^^^^^^^^^^^^^^^
22 14 | |
23 15 | |     fn never_inline();
24    | |____- help: remove
25
26 error: aborting due to 3 previous errors
27