32 lines
822 B
Plaintext
32 lines
822 B
Plaintext
|
error: unnecessary qualification
|
||
|
--> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:12:6
|
||
|
|
|
||
|
LL | impl ops::Index<str> for A {
|
||
|
| ^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
note: the lint level is defined here
|
||
|
--> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:3:9
|
||
|
|
|
||
|
LL | #![deny(unused_qualifications)]
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^
|
||
|
help: remove the unnecessary path segments
|
||
|
|
|
||
|
LL - impl ops::Index<str> for A {
|
||
|
LL + impl Index<str> for A {
|
||
|
|
|
||
|
|
||
|
error: unnecessary qualification
|
||
|
--> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:28:6
|
||
|
|
|
||
|
LL | impl inner::Trait<u8> for () {}
|
||
|
| ^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
help: remove the unnecessary path segments
|
||
|
|
|
||
|
LL - impl inner::Trait<u8> for () {}
|
||
|
LL + impl Trait<u8> for () {}
|
||
|
|
|
||
|
|
||
|
error: aborting due to 2 previous errors
|
||
|
|