blob: 5b71ba9e2223c8a9b8d230a706d0b1dafde8d716 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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: remove the unnecessary path segments
|
LL - foo::bar();
LL + bar();
|
error: unnecessary qualification
--> $DIR/unused-qualifications-suggestion.rs:22:5
|
LL | baz::qux::quux();
| ^^^^^^^^^^^^^^
|
help: remove the unnecessary path segments
|
LL - baz::qux::quux();
LL + quux();
|
error: aborting due to 2 previous errors
|