rust/tests/ui/missing_inline.stderr

41 lines
1.0 KiB
Plaintext
Raw Normal View History

error: missing `#[inline]` for a function
2018-12-09 23:27:19 -06:00
--> $DIR/missing_inline.rs:40:1
|
2018-12-27 09:57:55 -06:00
LL | 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-12-09 23:27:19 -06:00
--> $DIR/missing_inline.rs:56:5
|
2018-12-27 09:57:55 -06:00
LL | fn PubBar_b() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^
error: missing `#[inline]` for a method
2018-12-09 23:27:19 -06:00
--> $DIR/missing_inline.rs:70:5
|
2018-12-27 09:57:55 -06:00
LL | fn PubBar_a() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^
error: missing `#[inline]` for a method
2018-12-09 23:27:19 -06:00
--> $DIR/missing_inline.rs:71:5
|
2018-12-27 09:57:55 -06:00
LL | fn PubBar_b() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^
error: missing `#[inline]` for a method
2018-12-09 23:27:19 -06:00
--> $DIR/missing_inline.rs:72:5
|
2018-12-27 09:57:55 -06:00
LL | fn PubBar_c() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^
error: missing `#[inline]` for a method
2018-12-09 23:27:19 -06:00
--> $DIR/missing_inline.rs:82:5
|
2018-12-27 09:57:55 -06:00
LL | pub fn PubFooImpl() {} // missing #[inline]
| ^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 6 previous errors