fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.0 KiB32 linesraw
1error: `Foo::f#hola` contains an anchor, but links to fields are already anchored
2  --> $DIR/anchors.rs:25:15
3   |
4LL | /// Or maybe [Foo::f#hola].
5   |               ^^^^^^-----
6   |                     |
7   |                     invalid anchor
8   |
9note: the lint level is defined here
10  --> $DIR/anchors.rs:1:9
11   |
12LL | #![deny(rustdoc::broken_intra_doc_links)]
13   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15error: `hello#people#!` contains multiple anchors
16  --> $DIR/anchors.rs:31:28
17   |
18LL | /// Another anchor error: [hello#people#!].
19   |                            ^^^^^^^^^^^^--
20   |                                        |
21   |                                        invalid anchor
22
23error: `Enum::A#whatever` contains an anchor, but links to variants are already anchored
24  --> $DIR/anchors.rs:37:28
25   |
26LL | /// Damn enum's variants: [Enum::A#whatever].
27   |                            ^^^^^^^---------
28   |                                   |
29   |                                   invalid anchor
30
31error: aborting due to 3 previous errors
32