rust/tests/ui/missing_inline.stderr

41 lines
1.0 KiB
Plaintext
Raw Normal View History

error: missing `#[inline]` for a function
2018-10-06 11:18:06 -05:00
--> $DIR/missing_inline.rs:43:1
|
2018-10-06 11:18:06 -05:00
43 | pub fn pub_foo() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::missing-inline-in-public-items` implied by `-D warnings`
error: missing `#[inline]` for a default trait method
2018-10-06 11:18:06 -05:00
--> $DIR/missing_inline.rs:58:5
|
2018-10-06 11:18:06 -05:00
58 | fn PubBar_b() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^
error: missing `#[inline]` for a method
2018-10-06 11:18:06 -05:00
--> $DIR/missing_inline.rs:71:5
|
2018-10-06 11:18:06 -05:00
71 | fn PubBar_a() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^
error: missing `#[inline]` for a method
2018-10-06 11:18:06 -05:00
--> $DIR/missing_inline.rs:72:5
|
2018-10-06 11:18:06 -05:00
72 | fn PubBar_b() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^
error: missing `#[inline]` for a method
2018-10-06 11:18:06 -05:00
--> $DIR/missing_inline.rs:73:5
|
2018-10-06 11:18:06 -05:00
73 | fn PubBar_c() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^
error: missing `#[inline]` for a method
2018-10-06 11:18:06 -05:00
--> $DIR/missing_inline.rs:83:5
|
2018-10-06 11:18:06 -05:00
83 | pub fn PubFooImpl() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 6 previous errors