Skip to content

Commit 4fa69cb

Browse files
Improve display
1 parent cbc13c5 commit 4fa69cb

File tree

1 file changed

+4
-6
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+4
-6
lines changed

src/librustc_error_codes/error_codes/E0754.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,16 @@ Erroneous code examples:
55
```compile_fail,E0754
66
# #![feature(non_ascii_idents)]
77
8-
mod řųśť;
9-
// ^ error!
8+
mod řųśť; // error!
109
1110
#[no_mangle]
12-
fn řųśť() {}
13-
// ^ error!
11+
fn řųśť() {} // error!
1412
1513
fn main() {}
1614
```
1715

18-
Non-ascii can be used as module names if it is inline or a `#[path]` attribute
19-
is specified. For example:
16+
Non-ascii can be used as module names if it is inlined or if a `#[path]`
17+
attribute is specified. For example:
2018

2119
```
2220
# #![feature(non_ascii_idents)]

0 commit comments

Comments
 (0)