diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-07-04 20:52:26 +0900 |
|---|---|---|
| committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-07-06 02:06:00 +0900 |
| commit | db93d0149390c797237d0a3fb820f028d1885e45 (patch) | |
| tree | ec5b0c5b1cf3514a8fd3cbb2ea43245e7f8d1c7e | |
| parent | ce77031e9674fc921a69e23e107a9705b053b324 (diff) | |
| download | rust-db93d0149390c797237d0a3fb820f028d1885e45.tar.gz rust-db93d0149390c797237d0a3fb820f028d1885e45.zip | |
Remove compile-pass from error codes' explanation
| -rw-r--r-- | src/librustc_mir/error_codes.rs | 4 |
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); |
