fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.0 KiB41 linesraw
1error: missing `#[inline]` for a function
2  --> $DIR/missing_inline.rs:20:1
3   |
4LL | pub fn pub_foo() {}
5   | ^^^^^^^^^^^^^^^^^^^
6   |
7   = note: `-D clippy::missing-inline-in-public-items` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::missing_inline_in_public_items)]`
9
10error: missing `#[inline]` for a default trait method
11  --> $DIR/missing_inline.rs:39:5
12   |
13LL |     fn PubBar_b() {}
14   |     ^^^^^^^^^^^^^^^^
15
16error: missing `#[inline]` for a method
17  --> $DIR/missing_inline.rs:55:5
18   |
19LL |     fn PubBar_a() {}
20   |     ^^^^^^^^^^^^^^^^
21
22error: missing `#[inline]` for a method
23  --> $DIR/missing_inline.rs:58:5
24   |
25LL |     fn PubBar_b() {}
26   |     ^^^^^^^^^^^^^^^^
27
28error: missing `#[inline]` for a method
29  --> $DIR/missing_inline.rs:61:5
30   |
31LL |     fn PubBar_c() {}
32   |     ^^^^^^^^^^^^^^^^
33
34error: missing `#[inline]` for a method
35  --> $DIR/missing_inline.rs:73:5
36   |
37LL |     pub fn PubFooImpl() {}
38   |     ^^^^^^^^^^^^^^^^^^^^^^
39
40error: aborting due to 6 previous errors
41