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 18:40:44 +00:00
|
|
|
--> $DIR/missing_inline.rs:37: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 18:40:44 +00:00
|
|
|
--> $DIR/missing_inline.rs:52: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 18:40:44 +00:00
|
|
|
--> $DIR/missing_inline.rs:54: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 18:40:44 +00:00
|
|
|
--> $DIR/missing_inline.rs:56: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 18:40:44 +00:00
|
|
|
--> $DIR/missing_inline.rs:67: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
|
|
|
|
|