fork/rust

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

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

master
600 B23 linesraw
1error: unnecessary `pub(self)`
2  --> $DIR/needless_pub_self.rs:13:1
3   |
4LL | pub(self) fn a() {}
5   | ^^^^^^^^^ help: remove it
6   |
7   = note: `-D clippy::needless-pub-self` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::needless_pub_self)]`
9
10error: unnecessary `pub(in self)`
11  --> $DIR/needless_pub_self.rs:14:1
12   |
13LL | pub(in self) fn b() {}
14   | ^^^^^^^^^^^^ help: remove it
15
16error: unnecessary `pub(self)`
17  --> $DIR/needless_pub_self.rs:20:5
18   |
19LL |     pub(self) fn f() {}
20   |     ^^^^^^^^^ help: remove it
21
22error: aborting due to 3 previous errors
23