2018-07-04 10:51:04 +02:00
|
|
|
error: missing `#[inline]` for a function
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/missing_inline.rs:19:1
|
2018-07-04 10:51:04 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | pub fn pub_foo() {} // missing #[inline]
|
2018-07-04 10:51:04 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 16:30:44 +02:00
|
|
|
= note: `-D clippy::missing-inline-in-public-items` implied by `-D warnings`
|
2018-07-04 10:51:04 +02:00
|
|
|
|
|
|
|
error: missing `#[inline]` for a default trait method
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/missing_inline.rs:35:5
|
2018-07-04 10:51:04 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | fn PubBar_b() {} // missing #[inline]
|
2018-07-04 10:51:04 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/missing_inline.rs:49:5
|
2018-07-04 10:51:04 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | fn PubBar_a() {} // missing #[inline]
|
2018-07-04 10:51:04 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/missing_inline.rs:50:5
|
2018-07-04 10:51:04 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | fn PubBar_b() {} // missing #[inline]
|
2018-07-04 10:51:04 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/missing_inline.rs:51:5
|
2018-07-04 10:51:04 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | fn PubBar_c() {} // missing #[inline]
|
2018-07-04 10:51:04 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/missing_inline.rs:61:5
|
2018-07-04 10:51:04 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | pub fn PubFooImpl() {} // missing #[inline]
|
2018-07-04 10:51:04 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|