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

33 lines
1.1 KiB
Text
Raw Normal View History

error: `Foo::f#hola` contains an anchor, but links to fields are already anchored
2019-11-23 18:45:55 +01:00
--> $DIR/intra-links-anchors.rs:25:15
|
LL | /// Or maybe [Foo::f#hola].
| ^^^^^^^^^^^ contains invalid anchor
2019-11-23 18:45:55 +01:00
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2019-11-23 18:45:55 +01:00
--> $DIR/intra-links-anchors.rs:1:9
|
LL | #![deny(broken_intra_doc_links)]
2020-07-30 10:40:17 -07:00
| ^^^^^^^^^^^^^^^^^^^^^^
2019-11-23 18:45:55 +01:00
error: `hello#people#!` contains multiple anchors
2019-11-23 18:45:55 +01:00
--> $DIR/intra-links-anchors.rs:31:28
|
LL | /// Another anchor error: [hello#people#!].
| ^^^^^^^^^^^^^^ contains invalid anchor
2019-11-23 18:45:55 +01:00
error: `Enum::A#whatever` contains an anchor, but links to variants are already anchored
2019-11-23 18:45:55 +01:00
--> $DIR/intra-links-anchors.rs:37:28
|
LL | /// Damn enum's variants: [Enum::A#whatever].
| ^^^^^^^^^^^^^^^^ contains invalid anchor
2019-11-23 18:45:55 +01:00
error: `u32#hello` contains an anchor, but links to builtin types are already anchored
2019-11-23 18:45:55 +01:00
--> $DIR/intra-links-anchors.rs:43:6
|
LL | /// [u32#hello]
| ^^^^^^^^^ contains invalid anchor
2019-11-23 18:45:55 +01:00
error: aborting due to 4 previous errors