2023-07-17 20:10:45 -05:00
|
|
|
error: unnecessary qualification
|
2024-02-06 20:42:01 -06:00
|
|
|
--> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:13:6
|
2023-07-17 20:10:45 -05:00
|
|
|
|
|
|
|
|
LL | impl ops::Index<str> for A {
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2024-02-06 20:42:01 -06:00
|
|
|
--> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:4:9
|
2023-07-17 20:10:45 -05:00
|
|
|
|
|
|
|
|
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
|
2024-03-11 09:39:02 -05:00
|
|
|
--> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:39:6
|
2023-07-17 20:10:45 -05:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|