2018-07-04 03:51:04 -05:00
|
|
|
error: missing `#[inline]` for a function
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_inline.rs:20:1
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-08-24 14:32:12 -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`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::missing_inline_in_public_items)]`
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
|
|
error: missing `#[inline]` for a default trait method
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_inline.rs:39:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-08-24 14:32:12 -05:00
|
|
|
LL | fn PubBar_b() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_inline.rs:55:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-08-24 14:32:12 -05:00
|
|
|
LL | fn PubBar_a() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_inline.rs:58:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-08-24 14:32:12 -05:00
|
|
|
LL | fn PubBar_b() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_inline.rs:61:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-08-24 14:32:12 -05:00
|
|
|
LL | fn PubBar_c() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/missing_inline.rs:73:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2023-08-24 14:32:12 -05:00
|
|
|
LL | pub fn PubFooImpl() {}
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|