1- error: `char` is both a module and a builtin type
1+ error: `char` is both a module and a primitive type
22 --> $DIR/prim-conflict.rs:4:6
33 |
44LL | /// [char]
@@ -13,12 +13,12 @@ help: to link to the module, prefix with `mod@`
1313 |
1414LL | /// [mod@char]
1515 | ++++
16- help: to link to the builtin type, prefix with `prim@`
16+ help: to link to the primitive type, prefix with `prim@`
1717 |
1818LL | /// [prim@char]
1919 | +++++
2020
21- error: `char` is both a module and a builtin type
21+ error: `char` is both a module and a primitive type
2222 --> $DIR/prim-conflict.rs:10:6
2323 |
2424LL | /// [type@char]
@@ -28,7 +28,7 @@ help: to link to the module, prefix with `mod@`
2828 |
2929LL | /// [mod@char]
3030 | ~~~~
31- help: to link to the builtin type, prefix with `prim@`
31+ help: to link to the primitive type, prefix with `prim@`
3232 |
3333LL | /// [prim@char]
3434 | ~~~~~
@@ -48,9 +48,9 @@ error: incompatible link kind for `char`
4848 --> $DIR/prim-conflict.rs:26:10
4949 |
5050LL | //! [struct@char]
51- | ^^^^^^^^^^^ this link resolved to a builtin type, which is not a struct
51+ | ^^^^^^^^^^^ this link resolved to a primitive type, which is not a struct
5252 |
53- help: to link to the builtin type, prefix with `prim@`
53+ help: to link to the primitive type, prefix with `prim@`
5454 |
5555LL | //! [prim@char]
5656 | ~~~~~
0 commit comments