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