2023-06-17 02:06:48 -05:00
|
|
|
error: unnecessary qualification
|
|
|
|
--> $DIR/unused-qualifications-suggestion.rs:17:5
|
|
|
|
|
|
|
|
|
LL | foo::bar();
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/unused-qualifications-suggestion.rs:3:9
|
|
|
|
|
|
|
|
|
LL | #![deny(unused_qualifications)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2023-07-17 20:10:45 -05:00
|
|
|
help: remove the unnecessary path segments
|
|
|
|
|
|
|
|
|
LL - foo::bar();
|
|
|
|
LL + bar();
|
2023-06-17 02:06:48 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
error: unnecessary qualification
|
2024-03-11 09:39:02 -05:00
|
|
|
--> $DIR/unused-qualifications-suggestion.rs:22:5
|
2023-06-17 02:06:48 -05:00
|
|
|
|
|
|
|
|
LL | baz::qux::quux();
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-07-17 20:10:45 -05:00
|
|
|
help: remove the unnecessary path segments
|
|
|
|
|
|
|
|
|
LL - baz::qux::quux();
|
|
|
|
LL + quux();
|
2023-06-17 02:06:48 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|