summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-qualification.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/lint-qualification.stderr')
-rw-r--r--tests/ui/lint/lint-qualification.stderr9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/ui/lint/lint-qualification.stderr b/tests/ui/lint/lint-qualification.stderr
index 149a782d9..90a06bc6c 100644
--- a/tests/ui/lint/lint-qualification.stderr
+++ b/tests/ui/lint/lint-qualification.stderr
@@ -1,14 +1,19 @@
error: unnecessary qualification
- --> $DIR/lint-qualification.rs:10:5
+ --> $DIR/lint-qualification.rs:11:5
|
LL | foo::bar();
| ^^^^^^^^
|
note: the lint level is defined here
- --> $DIR/lint-qualification.rs:1:9
+ --> $DIR/lint-qualification.rs:2:9
|
LL | #![deny(unused_qualifications)]
| ^^^^^^^^^^^^^^^^^^^^^
+help: remove the unnecessary path segments
+ |
+LL - foo::bar();
+LL + bar();
+ |
error: aborting due to previous error