mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +00:00
40 lines
945 B
Text
40 lines
945 B
Text
error: missing `#[inline]` for a function
|
|
--> $DIR/missing_inline.rs:20:1
|
|
|
|
|
LL | pub fn pub_foo() {}
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::missing-inline-in-public-items` implied by `-D warnings`
|
|
|
|
error: missing `#[inline]` for a default trait method
|
|
--> $DIR/missing_inline.rs:39:5
|
|
|
|
|
LL | fn PubBar_b() {}
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: missing `#[inline]` for a method
|
|
--> $DIR/missing_inline.rs:55:5
|
|
|
|
|
LL | fn PubBar_a() {}
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: missing `#[inline]` for a method
|
|
--> $DIR/missing_inline.rs:58:5
|
|
|
|
|
LL | fn PubBar_b() {}
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: missing `#[inline]` for a method
|
|
--> $DIR/missing_inline.rs:61:5
|
|
|
|
|
LL | fn PubBar_c() {}
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: missing `#[inline]` for a method
|
|
--> $DIR/missing_inline.rs:73:5
|
|
|
|
|
LL | pub fn PubFooImpl() {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 6 previous errors
|
|
|