2018-07-04 08:51:04 +00:00
|
|
|
error: missing `#[inline]` for a function
|
2023-07-28 18:40:44 +00:00
|
|
|
--> $DIR/missing_inline.rs:20:1
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2023-07-28 18:40:44 +00:00
|
|
|
LL | pub fn pub_foo() {}
|
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
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_inline.rs:39:5
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2023-07-28 18:40:44 +00:00
|
|
|
LL | fn PubBar_b() {}
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_inline.rs:55:5
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2023-07-28 18:40:44 +00:00
|
|
|
LL | fn PubBar_a() {}
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_inline.rs:58:5
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2023-07-28 18:40:44 +00:00
|
|
|
LL | fn PubBar_b() {}
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_inline.rs:61:5
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2023-07-28 18:40:44 +00:00
|
|
|
LL | fn PubBar_c() {}
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_inline.rs:73:5
|
2018-07-04 08:51:04 +00:00
|
|
|
|
|
2023-07-28 18:40:44 +00:00
|
|
|
LL | pub fn PubFooImpl() {}
|
2018-07-04 08:51:04 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|