]> git.lizzy.rs Git - rust.git/blob - tests/ui/missing_inline.stderr
Auto merge of #68717 - petrochenkov:stabexpat, r=varkor
[rust.git] / tests / ui / missing_inline.stderr
1 error: missing `#[inline]` for a function
2   --> $DIR/missing_inline.rs:19:1
3    |
4 LL | pub fn pub_foo() {} // missing #[inline]
5    | ^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::missing-inline-in-public-items` implied by `-D warnings`
8
9 error: missing `#[inline]` for a default trait method
10   --> $DIR/missing_inline.rs:35:5
11    |
12 LL |     fn PubBar_b() {} // missing #[inline]
13    |     ^^^^^^^^^^^^^^^^
14
15 error: missing `#[inline]` for a method
16   --> $DIR/missing_inline.rs:49:5
17    |
18 LL |     fn PubBar_a() {} // missing #[inline]
19    |     ^^^^^^^^^^^^^^^^
20
21 error: missing `#[inline]` for a method
22   --> $DIR/missing_inline.rs:50:5
23    |
24 LL |     fn PubBar_b() {} // missing #[inline]
25    |     ^^^^^^^^^^^^^^^^
26
27 error: missing `#[inline]` for a method
28   --> $DIR/missing_inline.rs:51:5
29    |
30 LL |     fn PubBar_c() {} // missing #[inline]
31    |     ^^^^^^^^^^^^^^^^
32
33 error: missing `#[inline]` for a method
34   --> $DIR/missing_inline.rs:61:5
35    |
36 LL |     pub fn PubFooImpl() {} // missing #[inline]
37    |     ^^^^^^^^^^^^^^^^^^^^^^
38
39 error: aborting due to 6 previous errors
40