2018-07-04 08:51:04 +00:00
|
|
|
error: missing `#[inline]` for a function
|
2018-12-10 05:27:19 +00:00
|
|
|
--> $DIR/missing_inline.rs:40:1
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
40 | pub fn pub_foo() {} // missing #[inline]
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
= note: `-D clippy::missing-inline-in-public-items` implied by `-D warnings`
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
|
|
error: missing `#[inline]` for a default trait method
|
2018-12-10 05:27:19 +00:00
|
|
|
--> $DIR/missing_inline.rs:56:5
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
56 | fn PubBar_b() {} // missing #[inline]
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2018-12-10 05:27:19 +00:00
|
|
|
--> $DIR/missing_inline.rs:70:5
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
70 | fn PubBar_a() {} // missing #[inline]
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2018-12-10 05:27:19 +00:00
|
|
|
--> $DIR/missing_inline.rs:71:5
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
71 | fn PubBar_b() {} // missing #[inline]
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2018-12-10 05:27:19 +00:00
|
|
|
--> $DIR/missing_inline.rs:72:5
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
72 | fn PubBar_c() {} // missing #[inline]
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2018-12-10 05:27:19 +00:00
|
|
|
--> $DIR/missing_inline.rs:82:5
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
82 | pub fn PubFooImpl() {} // missing #[inline]
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|