help: to link to the module, prefix with `mod@`
|
LL | /// [mod@char]
- | ^^^^
+ | ++++
help: to link to the builtin type, prefix with `prim@`
|
LL | /// [prim@char]
- | ^^^^^
+ | +++++
error: `char` is both a module and a builtin type
--> $DIR/prim-conflict.rs:10:6
help: to link to the module, prefix with `mod@`
|
LL | /// [mod@char]
- | ^^^^
+ | ~~~~
help: to link to the builtin type, prefix with `prim@`
|
LL | /// [prim@char]
- | ^^^^^
+ | ~~~~~
error: incompatible link kind for `char`
--> $DIR/prim-conflict.rs:19:6
help: to link to the module, prefix with `mod@`
|
LL | /// [mod@char]
- | ^^^^
+ | ~~~~
error: incompatible link kind for `char`
--> $DIR/prim-conflict.rs:26:10
help: to link to the builtin type, prefix with `prim@`
|
LL | //! [prim@char]
- | ^^^^^
+ | ~~~~~
error: aborting due to 4 previous errors