summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-113808-invalid-unused-qualifications-suggestion.stderr
blob: d9c7fd21871ba963b3d5b3327cf5f080a5f74b0c (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/issue-113808-invalid-unused-qualifications-suggestion.rs:12:6
   |
LL | impl ops::Index<str> for A {
   |      ^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:3:9
   |
LL | #![deny(unused_qualifications)]
   |         ^^^^^^^^^^^^^^^^^^^^^
help: remove the unnecessary path segments
   |
LL - impl ops::Index<str> for A {
LL + impl Index<str> for A {
   |

error: unnecessary qualification
  --> $DIR/issue-113808-invalid-unused-qualifications-suggestion.rs:28:6
   |
LL | impl inner::Trait<u8> for () {}
   |      ^^^^^^^^^^^^^^^^
   |
help: remove the unnecessary path segments
   |
LL - impl inner::Trait<u8> for () {}
LL + impl Trait<u8> for () {}
   |

error: aborting due to 2 previous errors