blob: da2a2a7fedd460d0c7c62800536a47ad533dc610 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
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`
= help: to override `-D warnings` add `#[allow(clippy::missing_inline_in_public_items)]`
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
|