]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/inline_fn_without_body.stderr
Merge commit 'a8385522ade6f67853edac730b5bf164ddb298fd' into simd-remove-autosplats
[rust.git] / src / tools / clippy / 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:7:5
3    |
4 LL |       #[inline]
5    |  _____-^^^^^^^^
6 LL | |     fn default_inline();
7    | |____- help: remove
8    |
9    = note: `-D clippy::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:10:5
13    |
14 LL |       #[inline(always)]
15    |  _____-^^^^^^^^^^^^^^^^
16 LL | |     fn always_inline();
17    | |____- help: remove
18
19 error: use of `#[inline]` on trait method `never_inline` which has no body
20   --> $DIR/inline_fn_without_body.rs:13:5
21    |
22 LL |       #[inline(never)]
23    |  _____-^^^^^^^^^^^^^^^
24 LL | |     fn never_inline();
25    | |____- help: remove
26
27 error: aborting due to 3 previous errors
28