1
- error: `char` is both a module and a builtin type
1
+ error: `char` is both a module and a primitive type
2
2
--> $DIR/prim-conflict.rs:4:6
3
3
|
4
4
LL | /// [char]
@@ -13,12 +13,12 @@ help: to link to the module, prefix with `mod@`
13
13
|
14
14
LL | /// [mod@char]
15
15
| ++++
16
- help: to link to the builtin type, prefix with `prim@`
16
+ help: to link to the primitive type, prefix with `prim@`
17
17
|
18
18
LL | /// [prim@char]
19
19
| +++++
20
20
21
- error: `char` is both a module and a builtin type
21
+ error: `char` is both a module and a primitive type
22
22
--> $DIR/prim-conflict.rs:10:6
23
23
|
24
24
LL | /// [type@char]
@@ -28,7 +28,7 @@ help: to link to the module, prefix with `mod@`
28
28
|
29
29
LL | /// [mod@char]
30
30
| ~~~~
31
- help: to link to the builtin type, prefix with `prim@`
31
+ help: to link to the primitive type, prefix with `prim@`
32
32
|
33
33
LL | /// [prim@char]
34
34
| ~~~~~
@@ -48,9 +48,9 @@ error: incompatible link kind for `char`
48
48
--> $DIR/prim-conflict.rs:26:10
49
49
|
50
50
LL | //! [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
52
52
|
53
- help: to link to the builtin type, prefix with `prim@`
53
+ help: to link to the primitive type, prefix with `prim@`
54
54
|
55
55
LL | //! [prim@char]
56
56
| ~~~~~
0 commit comments