2018-07-04 03:51:04 -05:00
|
|
|
error: missing `#[inline]` for a function
|
2023-07-28 13:40:44 -05:00
|
|
|
--> $DIR/missing_inline.rs:20:1
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-07-28 13:40:44 -05:00
|
|
|
LL | pub fn pub_foo() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
= note: `-D clippy::missing-inline-in-public-items` implied by `-D warnings`
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
|
|
error: missing `#[inline]` for a default trait method
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/missing_inline.rs:39:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-07-28 13:40:44 -05:00
|
|
|
LL | fn PubBar_b() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/missing_inline.rs:55:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-07-28 13:40:44 -05:00
|
|
|
LL | fn PubBar_a() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/missing_inline.rs:58:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-07-28 13:40:44 -05:00
|
|
|
LL | fn PubBar_b() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/missing_inline.rs:61:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-07-28 13:40:44 -05:00
|
|
|
LL | fn PubBar_c() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/missing_inline.rs:73:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-07-28 13:40:44 -05:00
|
|
|
LL | pub fn PubFooImpl() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|