2020-08-21 16:12:39 -04:00
|
|
|
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].
|
2020-07-19 13:03:35 -04:00
|
|
|
| ^^^^^^^^^^^ 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
|
|
|
|
|
|
2020-07-30 10:38:55 -07:00
|
|
|
LL | #![deny(broken_intra_doc_links)]
|
2020-07-30 10:40:17 -07:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2019-11-23 18:45:55 +01:00
|
|
|
|
2020-07-19 13:03:35 -04: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#!].
|
2020-07-19 13:03:35 -04:00
|
|
|
| ^^^^^^^^^^^^^^ contains invalid anchor
|
2019-11-23 18:45:55 +01:00
|
|
|
|
2020-08-21 16:12:39 -04: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].
|
2020-07-19 13:03:35 -04:00
|
|
|
| ^^^^^^^^^^^^^^^^ contains invalid anchor
|
2019-11-23 18:45:55 +01:00
|
|
|
|
2020-08-21 16:12:39 -04: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]
|
2020-07-19 13:03:35 -04:00
|
|
|
| ^^^^^^^^^ contains invalid anchor
|
2019-11-23 18:45:55 +01:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|