We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 441fd22 commit cbc13c5Copy full SHA for cbc13c5
src/librustc_error_codes/error_codes/E0754.md
@@ -1,31 +1,27 @@
1
An non-ascii identifier was used in an invalid context.
2
3
-Erroneous code example:
+Erroneous code examples:
4
5
```compile_fail,E0754
6
# #![feature(non_ascii_idents)]
7
8
mod řųśť;
9
// ^ error!
10
-fn main() {}
11
-```
12
-
13
-```compile_fail,E0754
14
-# #![feature(non_ascii_idents)]
15
16
#[no_mangle]
17
fn řųśť() {}
18
+
19
fn main() {}
20
```
21
22
-Non-ascii can be used as module names if it is inline
23
-or a #\[path\] attribute is specified. For example:
+Non-ascii can be used as module names if it is inline or a `#[path]` attribute
+is specified. For example:
24
25
26
27
28
-mod řųśť {
+mod řųśť { // ok!
29
const IS_GREAT: bool = true;
30
}
31
0 commit comments