2020-08-22 14:00:19 -05:00
|
|
|
error: `char` is both a module and a builtin type
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/prim-conflict.rs:4:6
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
|
|
|
LL | /// [char]
|
|
|
|
| ^^^^ ambiguous link
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/prim-conflict.rs:1:9
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
2020-12-29 22:16:16 -06:00
|
|
|
LL | #![deny(rustdoc::broken_intra_doc_links)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-08-27 23:53:36 -05:00
|
|
|
help: to link to the module, prefix with `mod@`
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
2020-08-25 15:21:02 -05:00
|
|
|
LL | /// [mod@char]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ++++
|
2020-08-27 23:53:36 -05:00
|
|
|
help: to link to the builtin type, prefix with `prim@`
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
|
|
|
LL | /// [prim@char]
|
2021-06-21 21:07:19 -05:00
|
|
|
| +++++
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
|
|
error: `char` is both a module and a builtin type
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/prim-conflict.rs:10:6
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
|
|
|
LL | /// [type@char]
|
|
|
|
| ^^^^^^^^^ ambiguous link
|
|
|
|
|
|
2020-08-27 23:53:36 -05:00
|
|
|
help: to link to the module, prefix with `mod@`
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
2020-08-25 15:21:02 -05:00
|
|
|
LL | /// [mod@char]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~
|
2020-08-27 23:53:36 -05:00
|
|
|
help: to link to the builtin type, prefix with `prim@`
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
|
|
|
LL | /// [prim@char]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
|
|
error: incompatible link kind for `char`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/prim-conflict.rs:19:6
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
|
|
|
LL | /// [struct@char]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^^^^^ this link resolved to a module, which is not a struct
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
help: to link to the module, prefix with `mod@`
|
|
|
|
|
|
|
|
|
LL | /// [mod@char]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
|
|
error: incompatible link kind for `char`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/prim-conflict.rs:26:10
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
|
|
|
LL | //! [struct@char]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^^^^^ this link resolved to a builtin type, which is not a struct
|
|
|
|
|
|
|
|
|
help: to link to the builtin type, prefix with `prim@`
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
LL | //! [prim@char]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~
|
2020-08-22 14:00:19 -05:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|