30 lines
645 B
Plaintext
30 lines
645 B
Plaintext
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)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
help: replace it with the unqualified path
|
|
|
|
|
LL | bar();
|
|
| ~~~
|
|
|
|
error: unnecessary qualification
|
|
--> $DIR/unused-qualifications-suggestion.rs:21:5
|
|
|
|
|
LL | baz::qux::quux();
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
help: replace it with the unqualified path
|
|
|
|
|
LL | quux();
|
|
| ~~~~
|
|
|
|
error: aborting due to 2 previous errors
|
|
|