Skip to content

Commit

Permalink
Remove compile-pass from error codes' explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jul 5, 2019
1 parent ce77031 commit db93d01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_mir/error_codes.rs
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit db93d01

Please sign in to comment.