@@ -33,21 +33,6 @@ help: to link to the associated type, prefix with `type@`
33
33
LL | /// [`type@Self::IDENT2`]
34
34
| +++++
35
35
36
- error: `Self::IDENT2` is both an associated constant and an associated type
37
- --> $DIR/issue-108653-associated-items.rs:30:7
38
- |
39
- LL | /// [`Self::IDENT2`]
40
- | ^^^^^^^^^^^^ ambiguous link
41
- |
42
- help: to link to the associated constant, prefix with `const@`
43
- |
44
- LL | /// [`const@Self::IDENT2`]
45
- | ++++++
46
- help: to link to the associated type, prefix with `type@`
47
- |
48
- LL | /// [`type@Self::IDENT2`]
49
- | +++++
50
-
51
36
error: `Self::IDENT` is both an associated function and a variant
52
37
--> $DIR/issue-108653-associated-items.rs:16:7
53
38
|
@@ -63,5 +48,20 @@ help: to link to the variant, prefix with `type@`
63
48
LL | /// [`type@Self::IDENT`]
64
49
| +++++
65
50
51
+ error: `Self::IDENT2` is both an associated constant and an associated type
52
+ --> $DIR/issue-108653-associated-items.rs:30:7
53
+ |
54
+ LL | /// [`Self::IDENT2`]
55
+ | ^^^^^^^^^^^^ ambiguous link
56
+ |
57
+ help: to link to the associated constant, prefix with `const@`
58
+ |
59
+ LL | /// [`const@Self::IDENT2`]
60
+ | ++++++
61
+ help: to link to the associated type, prefix with `type@`
62
+ |
63
+ LL | /// [`type@Self::IDENT2`]
64
+ | +++++
65
+
66
66
error: aborting due to 4 previous errors
67
67
0 commit comments