|
1 | | -error: `[Foo::f#hola]` has an issue with the link anchor. |
| 1 | +error: `Foo::f#hola` contains an anchor, but links to struct fields are already anchored |
2 | 2 | --> $DIR/intra-links-anchors.rs:25:15 |
3 | 3 | | |
4 | 4 | LL | /// Or maybe [Foo::f#hola]. |
5 | | - | ^^^^^^^^^^^ struct fields cannot be followed by anchors |
| 5 | + | ^^^^^^^^^^^ contains invalid anchor |
6 | 6 | | |
7 | 7 | note: the lint level is defined here |
8 | 8 | --> $DIR/intra-links-anchors.rs:1:9 |
9 | 9 | | |
10 | 10 | LL | #![deny(intra_doc_link_resolution_failure)] |
11 | 11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
12 | 12 |
|
13 | | -error: `[hello#people#!]` has an issue with the link anchor. |
| 13 | +error: `hello#people#!` contains multiple anchors |
14 | 14 | --> $DIR/intra-links-anchors.rs:31:28 |
15 | 15 | | |
16 | 16 | LL | /// Another anchor error: [hello#people#!]. |
17 | | - | ^^^^^^^^^^^^^^ only one `#` is allowed in a link |
| 17 | + | ^^^^^^^^^^^^^^ contains invalid anchor |
18 | 18 |
|
19 | | -error: `[Enum::A#whatever]` has an issue with the link anchor. |
| 19 | +error: `Enum::A#whatever` contains an anchor, but links to enum variants are already anchored |
20 | 20 | --> $DIR/intra-links-anchors.rs:37:28 |
21 | 21 | | |
22 | 22 | LL | /// Damn enum's variants: [Enum::A#whatever]. |
23 | | - | ^^^^^^^^^^^^^^^^ variants cannot be followed by anchors |
| 23 | + | ^^^^^^^^^^^^^^^^ contains invalid anchor |
24 | 24 |
|
25 | | -error: `[u32#hello]` has an issue with the link anchor. |
| 25 | +error: `u32#hello` contains an anchor, but links to primitive types are already anchored |
26 | 26 | --> $DIR/intra-links-anchors.rs:43:6 |
27 | 27 | | |
28 | 28 | LL | /// [u32#hello] |
29 | | - | ^^^^^^^^^ primitive types cannot be followed by anchors |
| 29 | + | ^^^^^^^^^ contains invalid anchor |
30 | 30 |
|
31 | 31 | error: aborting due to 4 previous errors |
32 | 32 |
|
0 commit comments