]> git.lizzy.rs Git - rust.git/blob - tests/ui/missing_inline.stderr
Adapt the *.stderr files of the ui-tests to the tool_lints
[rust.git] / tests / ui / missing_inline.stderr
1 error: missing `#[inline]` for a function
2   --> $DIR/missing_inline.rs:33:1
3    |
4 33 | 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:48:5
11    |
12 48 |     fn PubBar_b() {} // missing #[inline]
13    |     ^^^^^^^^^^^^^^^^
14
15 error: missing `#[inline]` for a method
16   --> $DIR/missing_inline.rs:61:5
17    |
18 61 |     fn PubBar_a() {} // missing #[inline]
19    |     ^^^^^^^^^^^^^^^^
20
21 error: missing `#[inline]` for a method
22   --> $DIR/missing_inline.rs:62:5
23    |
24 62 |     fn PubBar_b() {} // missing #[inline]
25    |     ^^^^^^^^^^^^^^^^
26
27 error: missing `#[inline]` for a method
28   --> $DIR/missing_inline.rs:63:5
29    |
30 63 |     fn PubBar_c() {} // missing #[inline]
31    |     ^^^^^^^^^^^^^^^^
32
33 error: missing `#[inline]` for a method
34   --> $DIR/missing_inline.rs:73:5
35    |
36 73 |     pub fn PubFooImpl() {} // missing #[inline]
37    |     ^^^^^^^^^^^^^^^^^^^^^^
38
39 error: aborting due to 6 previous errors
40