Skip to content

Commit 4e235a7

Browse files
committed
Bless rustdoc-ui test with new errors order
The order in which the multiple errors for the ambiguous intra doc links are printed is different.
1 parent dc04b08 commit 4e235a7

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

tests/rustdoc-ui/intra-doc/issue-108653-associated-items.stderr

+15-15
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,6 @@ help: to link to the associated type, prefix with `type@`
3333
LL | /// [`type@Self::IDENT2`]
3434
| +++++
3535

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-
5136
error: `Self::IDENT` is both an associated function and a variant
5237
--> $DIR/issue-108653-associated-items.rs:16:7
5338
|
@@ -63,5 +48,20 @@ help: to link to the variant, prefix with `type@`
6348
LL | /// [`type@Self::IDENT`]
6449
| +++++
6550

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+
6666
error: aborting due to 4 previous errors
6767

0 commit comments

Comments
 (0)