]> git.lizzy.rs Git - rust.git/commitdiff
Improve display
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 17 Aug 2020 15:22:53 +0000 (17:22 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 17 Aug 2020 15:22:53 +0000 (17:22 +0200)
src/librustc_error_codes/error_codes/E0754.md

index 576317e12918ccb56c17c6771f8a8c0dc01750fe..57620bcd65c18bd5d105f40258dc3026049f372f 100644 (file)
@@ -5,18 +5,16 @@ Erroneous code examples:
 ```compile_fail,E0754
 # #![feature(non_ascii_idents)]
 
-mod řųśť;
-// ^ error!
+mod řųśť; // error!
 
 #[no_mangle]
-fn řųśť() {}
-// ^ error!
+fn řųśť() {} // error!
 
 fn main() {}
 ```
 
-Non-ascii can be used as module names if it is inline or a `#[path]` attribute
-is specified. For example:
+Non-ascii can be used as module names if it is inlined or if a `#[path]`
+attribute is specified. For example:
 
 ```
 # #![feature(non_ascii_idents)]