2023-06-17 07:06:48 +00: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-18 01:10:45 +00:00
|
|
|
help: remove the unnecessary path segments
|
|
|
|
|
|
|
|
|
LL - foo::bar();
|
|
|
|
LL + bar();
|
2023-06-17 07:06:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
error: unnecessary qualification
|
2024-03-11 14:39:02 +00:00
|
|
|
--> $DIR/unused-qualifications-suggestion.rs:22:5
|
2023-06-17 07:06:48 +00:00
|
|
|
|
|
|
|
|
LL | baz::qux::quux();
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-07-18 01:10:45 +00:00
|
|
|
help: remove the unnecessary path segments
|
|
|
|
|
|
|
|
|
LL - baz::qux::quux();
|
|
|
|
LL + quux();
|
2023-06-17 07:06:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|