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