2021-04-05 04:56:47 -04:00
|
|
|
error: `prim@usize#x` contains an anchor, but links to builtin types are already anchored
|
|
|
|
--> $DIR/anchors.rs:47:6
|
2019-11-23 18:45:55 +01:00
|
|
|
|
|
2021-04-05 04:56:47 -04:00
|
|
|
LL | /// [prim@usize#x]
|
2021-04-14 16:59:41 -04:00
|
|
|
| ^^^^^^^^^^--
|
|
|
|
| |
|
|
|
|
| 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
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/anchors.rs:1:9
|
2019-11-23 18:45:55 +01:00
|
|
|
|
|
2020-12-29 23:16:16 -05:00
|
|
|
LL | #![deny(rustdoc::broken_intra_doc_links)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-04-14 16:39:58 -04:00
|
|
|
= note: this restriction may be lifted in a future release
|
|
|
|
= note: see https://github.com/rust-lang/rust/issues/83083 for more information
|
2019-11-23 18:45:55 +01:00
|
|
|
|
2021-04-05 04:56:47 -04:00
|
|
|
error: `Foo::f#hola` contains an anchor, but links to fields are already anchored
|
|
|
|
--> $DIR/anchors.rs:25:15
|
|
|
|
|
|
|
|
|
LL | /// Or maybe [Foo::f#hola].
|
2021-04-14 16:59:41 -04:00
|
|
|
| ^^^^^^-----
|
|
|
|
| |
|
|
|
|
| invalid anchor
|
2021-04-05 04:56:47 -04:00
|
|
|
|
2020-07-19 13:03:35 -04:00
|
|
|
error: `hello#people#!` contains multiple anchors
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/anchors.rs:31:28
|
2019-11-23 18:45:55 +01:00
|
|
|
|
|
|
|
|
LL | /// Another anchor error: [hello#people#!].
|
2021-04-14 16:59:41 -04:00
|
|
|
| ^^^^^^^^^^^^--
|
|
|
|
| |
|
|
|
|
| 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
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/anchors.rs:37:28
|
2019-11-23 18:45:55 +01:00
|
|
|
|
|
|
|
|
LL | /// Damn enum's variants: [Enum::A#whatever].
|
2021-04-14 16:59:41 -04:00
|
|
|
| ^^^^^^^---------
|
|
|
|
| |
|
|
|
|
| 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
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/anchors.rs:43:6
|
2019-11-23 18:45:55 +01:00
|
|
|
|
|
|
|
|
LL | /// [u32#hello]
|
2021-04-14 16:59:41 -04:00
|
|
|
| ^^^------
|
|
|
|
| |
|
|
|
|
| invalid anchor
|
2021-04-14 16:39:58 -04:00
|
|
|
|
|
|
|
|
= note: this restriction may be lifted in a future release
|
|
|
|
= note: see https://github.com/rust-lang/rust/issues/83083 for more information
|
2019-11-23 18:45:55 +01:00
|
|
|
|
2021-04-05 04:56:47 -04:00
|
|
|
error: aborting due to 5 previous errors
|
2019-11-23 18:45:55 +01:00
|
|
|
|