1error: use of `#[inline]` on trait method `default_inline` which has no body 2 --> $DIR/inline_fn_without_body.rs:7:5 3 | 4LL | #[inline] 5 | _____-^^^^^^^^ 6LL | | fn default_inline(); 7 | |____- help: remove 8 | 9 = note: `-D clippy::inline-fn-without-body` implied by `-D warnings` 10 11error: use of `#[inline]` on trait method `always_inline` which has no body 12 --> $DIR/inline_fn_without_body.rs:10:5 13 | 14LL | #[inline(always)] 15 | _____-^^^^^^^^^^^^^^^^ 16LL | | fn always_inline(); 17 | |____- help: remove 18 19error: use of `#[inline]` on trait method `never_inline` which has no body 20 --> $DIR/inline_fn_without_body.rs:13:5 21 | 22LL | #[inline(never)] 23 | _____-^^^^^^^^^^^^^^^ 24LL | | fn never_inline(); 25 | |____- help: remove 26 27error: aborting due to 3 previous errors 28 29