2018-07-04 03:51:04 -05:00
|
|
|
error: missing `#[inline]` for a function
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing_inline.rs:33:1
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
33 | pub fn pub_foo() {} // missing #[inline]
|
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`
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
|
|
error: missing `#[inline]` for a default trait method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing_inline.rs:48:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
48 | fn PubBar_b() {} // missing #[inline]
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing_inline.rs:61:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
61 | fn PubBar_a() {} // missing #[inline]
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing_inline.rs:62:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
62 | fn PubBar_b() {} // missing #[inline]
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing_inline.rs:63:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
63 | fn PubBar_c() {} // missing #[inline]
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: missing `#[inline]` for a method
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/missing_inline.rs:73:5
|
2018-07-04 03:51:04 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
73 | pub fn PubFooImpl() {} // missing #[inline]
|
2018-07-04 03:51:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|