rust/src/test/rustdoc-ui/intra-links-anchors.stderr

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-11-25 07:24:53 -06:00
error: `[Foo::f#hola]` has an issue with the link anchor.
2019-11-23 11:45:55 -06:00
--> $DIR/intra-links-anchors.rs:25:15
|
LL | /// Or maybe [Foo::f#hola].
| ^^^^^^^^^^^ struct fields cannot be followed by anchors
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2019-11-23 11:45:55 -06:00
--> $DIR/intra-links-anchors.rs:1:9
|
LL | #![deny(intra_doc_link_resolution_failure)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-11-25 07:24:53 -06:00
error: `[hello#people#!]` has an issue with the link anchor.
2019-11-23 11:45:55 -06:00
--> $DIR/intra-links-anchors.rs:31:28
|
LL | /// Another anchor error: [hello#people#!].
| ^^^^^^^^^^^^^^ only one `#` is allowed in a link
2019-11-25 07:24:53 -06:00
error: `[Enum::A#whatever]` has an issue with the link anchor.
2019-11-23 11:45:55 -06:00
--> $DIR/intra-links-anchors.rs:37:28
|
LL | /// Damn enum's variants: [Enum::A#whatever].
| ^^^^^^^^^^^^^^^^ variants cannot be followed by anchors
2019-11-25 07:24:53 -06:00
error: `[u32#hello]` has an issue with the link anchor.
2019-11-23 11:45:55 -06:00
--> $DIR/intra-links-anchors.rs:43:6
|
LL | /// [u32#hello]
| ^^^^^^^^^ primitive types cannot be followed by anchors
error: aborting due to 4 previous errors