2018-01-17 03:41:24 -06:00
|
|
|
error: use of `#[inline]` on trait method `default_inline` which has no body
|
2018-01-17 13:08:03 -06:00
|
|
|
--> $DIR/inline_fn_without_body.rs:8:5
|
2018-01-17 03:41:24 -06:00
|
|
|
|
|
2018-01-17 13:08:03 -06:00
|
|
|
8 | #[inline]
|
|
|
|
| _____-^^^^^^^^
|
|
|
|
9 | | fn default_inline();
|
|
|
|
| |____- help: remove
|
2018-01-17 03:41:24 -06:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
= 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-01-17 13:08:03 -06:00
|
|
|
--> $DIR/inline_fn_without_body.rs:11:5
|
2018-01-17 03:41:24 -06:00
|
|
|
|
|
2018-01-17 13:08:03 -06:00
|
|
|
11 | #[inline(always)]fn always_inline();
|
|
|
|
| ^^^^^^^^^^^^^^^^^ help: remove
|
|
|
|
|
|
|
|
error: use of `#[inline]` on trait method `never_inline` which has no body
|
|
|
|
--> $DIR/inline_fn_without_body.rs:13:5
|
|
|
|
|
|
|
|
|
13 | #[inline(never)]
|
|
|
|
| _____-^^^^^^^^^^^^^^^
|
2018-01-23 14:32:06 -06:00
|
|
|
14 | | 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
|
|
|
|