blob: b09c6db17400383c94a41d5597b5289dd0e64d3d [file]
error: use of `#[inline]` on trait method `default_inline` which has no body
--> tests/ui/inline_fn_without_body.rs:4: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:8: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:12:5
|
LL | #[inline(never)]
| _____-^^^^^^^^^^^^^^^
LL | |
| |____- help: remove
error: aborting due to 3 previous errors