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