You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/ui/feature-gates/feature-gate-non_ascii_idents.stderr
+11-1
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,13 @@
1
+
error: items in `extern` blocks cannot use non-ascii identifiers
2
+
--> $DIR/feature-gate-non_ascii_idents.rs:30:8
3
+
|
4
+
LL | extern "C" {
5
+
| ---------- in this `extern` block
6
+
LL | fn qüx();
7
+
| ^^^
8
+
|
9
+
= note: This limitation may be lifted in the future; see issue #83942 <https://github.com/rust-lang/rust/issues/83942> for more information
10
+
1
11
error[E0658]: non-ascii idents are not fully supported
2
12
--> $DIR/feature-gate-non_ascii_idents.rs:1:22
3
13
|
@@ -115,6 +125,6 @@ LL | fn qüx();
115
125
= note: see issue #55467 <https://github.com/rust-lang/rust/issues/55467> for more information
116
126
= help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable
117
127
118
-
error: aborting due to 13 previous errors
128
+
error: aborting due to 14 previous errors
119
129
120
130
For more information about this error, try `rustc --explain E0658`.
error: items in `extern` blocks cannot use non-ascii identifiers
2
+
--> $DIR/extern_block_nonascii_forbidden.rs:5:10
3
+
|
4
+
LL | extern "C" {
5
+
| ---------- in this `extern` block
6
+
LL | type 一;
7
+
| ^^
8
+
|
9
+
= note: This limitation may be lifted in the future; see issue #83942 <https://github.com/rust-lang/rust/issues/83942> for more information
10
+
11
+
error: items in `extern` blocks cannot use non-ascii identifiers
12
+
--> $DIR/extern_block_nonascii_forbidden.rs:6:8
13
+
|
14
+
LL | extern "C" {
15
+
| ---------- in this `extern` block
16
+
LL | type 一;
17
+
LL | fn 二();
18
+
| ^^
19
+
|
20
+
= note: This limitation may be lifted in the future; see issue #83942 <https://github.com/rust-lang/rust/issues/83942> for more information
21
+
22
+
error: items in `extern` blocks cannot use non-ascii identifiers
23
+
--> $DIR/extern_block_nonascii_forbidden.rs:7:12
24
+
|
25
+
LL | extern "C" {
26
+
| ---------- in this `extern` block
27
+
...
28
+
LL | static 三: usize;
29
+
| ^^
30
+
|
31
+
= note: This limitation may be lifted in the future; see issue #83942 <https://github.com/rust-lang/rust/issues/83942> for more information
0 commit comments