rust/tests/ui/lint/lint-qualification.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
403 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error: unnecessary qualification
--> $DIR/lint-qualification.rs:11:5
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | foo::bar();
2018-08-08 12:28:26 +00:00
| ^^^^^^^^
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
--> $DIR/lint-qualification.rs:2:9
2018-08-08 12:28:26 +00:00
|
LL | #![deny(unused_qualifications)]
| ^^^^^^^^^^^^^^^^^^^^^
help: remove the unnecessary path segments
|
LL - foo::bar();
LL + bar();
|
2018-08-08 12:28:26 +00:00
error: aborting due to 1 previous error
2018-08-08 12:28:26 +00:00