fork/rust

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

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

master
822 B31 linesraw
1error: unnecessary qualification
2  --> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:12:6
3   |
4LL | impl ops::Index<str> for A {
5   |      ^^^^^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:3:9
9   |
10LL | #![deny(unused_qualifications)]
11   |         ^^^^^^^^^^^^^^^^^^^^^
12help: remove the unnecessary path segments
13   |
14LL - impl ops::Index<str> for A {
15LL + impl Index<str> for A {
16   |
17
18error: unnecessary qualification
19  --> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:28:6
20   |
21LL | impl inner::Trait<u8> for () {}
22   |      ^^^^^^^^^^^^^^^^
23   |
24help: remove the unnecessary path segments
25   |
26LL - impl inner::Trait<u8> for () {}
27LL + impl Trait<u8> for () {}
28   |
29
30error: aborting due to 2 previous errors
31