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