about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/inline_fn_without_body.stderr
blob: 61bc5505ea301f8f88c3166987ef9619e246258c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
error: use of `#[inline]` on trait method `default_inline` which has no body
  --> tests/ui/inline_fn_without_body.rs:5:5
   |
LL |       #[inline]
   |  _____-^^^^^^^^
LL | |
   | |____- help: remove
   |
   = note: `-D clippy::inline-fn-without-body` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::inline_fn_without_body)]`

error: use of `#[inline]` on trait method `always_inline` which has no body
  --> tests/ui/inline_fn_without_body.rs:9:5
   |
LL |       #[inline(always)]
   |  _____-^^^^^^^^^^^^^^^^
LL | |
   | |____- help: remove

error: use of `#[inline]` on trait method `never_inline` which has no body
  --> tests/ui/inline_fn_without_body.rs:13:5
   |
LL |       #[inline(never)]
   |  _____-^^^^^^^^^^^^^^^
LL | |
   | |____- help: remove

error: aborting due to 3 previous errors