]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2457/extern_block_nonascii_forbidden.stderr
Merge 'rust-clippy/master' into clippyup
[rust.git] / src / test / ui / rfc-2457 / extern_block_nonascii_forbidden.stderr
1 error: items in `extern` blocks cannot use non-ascii identifiers
2   --> $DIR/extern_block_nonascii_forbidden.rs:4: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:5: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:6: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
32
33 error: aborting due to 3 previous errors
34