]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/intra-links-anchors.stderr
Rollup merge of #66759 - CAD97:patch-3, r=KodrAus
[rust.git] / src / test / rustdoc-ui / intra-links-anchors.stderr
1 error: `[Foo::f#hola]` has an issue with the link anchor.
2   --> $DIR/intra-links-anchors.rs:25:15
3    |
4 LL | /// Or maybe [Foo::f#hola].
5    |               ^^^^^^^^^^^ struct fields cannot be followed by anchors
6    |
7 note: lint level defined here
8   --> $DIR/intra-links-anchors.rs:1:9
9    |
10 LL | #![deny(intra_doc_link_resolution_failure)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: `[hello#people#!]` has an issue with the link anchor.
14   --> $DIR/intra-links-anchors.rs:31:28
15    |
16 LL | /// Another anchor error: [hello#people#!].
17    |                            ^^^^^^^^^^^^^^ only one `#` is allowed in a link
18
19 error: `[Enum::A#whatever]` has an issue with the link anchor.
20   --> $DIR/intra-links-anchors.rs:37:28
21    |
22 LL | /// Damn enum's variants: [Enum::A#whatever].
23    |                            ^^^^^^^^^^^^^^^^ variants cannot be followed by anchors
24
25 error: `[u32#hello]` has an issue with the link anchor.
26   --> $DIR/intra-links-anchors.rs:43:6
27    |
28 LL | /// [u32#hello]
29    |      ^^^^^^^^^ primitive types cannot be followed by anchors
30
31 error: aborting due to 4 previous errors
32