blob: acddb69aaba56cd8d62571c1c29881afa52b43e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
A non-ASCII identifier was used in an invalid context.
Erroneous code examples:
```compile_fail,E0754
mod řųśť; // error!
#[no_mangle]
fn řųśť() {} // error!
fn main() {}
```
Non-ASCII can be used as module names if it is inlined or if a `#[path]`
attribute is specified. For example:
```
mod řųśť { // ok!
const IS_GREAT: bool = true;
}
fn main() {}
```
|