2018-01-17 03:41:24 -06:00
|
|
|
error: use of `#[inline]` on trait method `default_inline` which has no body
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/inline_fn_without_body.rs:18:5
|
|
|
|
|
|
|
|
|
18 | #[inline]
|
|
|
|
| _____-^^^^^^^^
|
|
|
|
19 | | fn default_inline();
|
|
|
|
| |____- help: remove
|
|
|
|
|
|
|
|
|
= note: `-D clippy::inline-fn-without-body` implied by `-D warnings`
|
2018-01-17 03:41:24 -06:00
|
|
|
|
|
|
|
error: use of `#[inline]` on trait method `always_inline` which has no body
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/inline_fn_without_body.rs:21:5
|
2018-01-17 03:41:24 -06:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
21 | #[inline(always)]fn always_inline();
|
2018-01-17 13:08:03 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^ help: remove
|
|
|
|
|
|
|
|
error: use of `#[inline]` on trait method `never_inline` which has no body
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/inline_fn_without_body.rs:23:5
|
2018-01-17 13:08:03 -06:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
23 | #[inline(never)]
|
2018-01-17 13:08:03 -06:00
|
|
|
| _____-^^^^^^^^^^^^^^^
|
2018-10-06 11:18:06 -05:00
|
|
|
24 | | fn never_inline();
|
2018-01-17 13:08:03 -06:00
|
|
|
| |____- help: remove
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2018-01-17 03:41:24 -06:00
|
|
|
|