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