about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-07-04 20:52:26 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2019-07-06 02:06:00 +0900
commitdb93d0149390c797237d0a3fb820f028d1885e45 (patch)
treeec5b0c5b1cf3514a8fd3cbb2ea43245e7f8d1c7e
parentce77031e9674fc921a69e23e107a9705b053b324 (diff)
downloadrust-db93d0149390c797237d0a3fb820f028d1885e45.tar.gz
rust-db93d0149390c797237d0a3fb820f028d1885e45.zip
Remove compile-pass from error codes' explanation
-rw-r--r--src/librustc_mir/error_codes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_mir/error_codes.rs b/src/librustc_mir/error_codes.rs
index 4807782c663..618c047e773 100644
--- a/src/librustc_mir/error_codes.rs
+++ b/src/librustc_mir/error_codes.rs
@@ -331,7 +331,7 @@ An if-let pattern attempts to match the pattern, and enters the body if the
 match was successful. If the match is irrefutable (when it cannot fail to
 match), use a regular `let`-binding instead. For instance:
 
-```compile_pass
+```
 struct Irrefutable(i32);
 let irr = Irrefutable(0);
 
@@ -360,7 +360,7 @@ A while-let pattern attempts to match the pattern, and enters the body if the
 match was successful. If the match is irrefutable (when it cannot fail to
 match), use a regular `let`-binding inside a `loop` instead. For instance:
 
-```compile_pass,no_run
+```no_run
 struct Irrefutable(i32);
 let irr = Irrefutable(0);