Skip to content

Commit c3fcf28

Browse files
committed
Remove compile-pass from error codes' explanation
1 parent 6b75d08 commit c3fcf28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_mir/error_codes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ An if-let pattern attempts to match the pattern, and enters the body if the
331331
match was successful. If the match is irrefutable (when it cannot fail to
332332
match), use a regular `let`-binding instead. For instance:
333333
334-
```compile_pass
334+
```
335335
struct Irrefutable(i32);
336336
let irr = Irrefutable(0);
337337
@@ -360,7 +360,7 @@ A while-let pattern attempts to match the pattern, and enters the body if the
360360
match was successful. If the match is irrefutable (when it cannot fail to
361361
match), use a regular `let`-binding inside a `loop` instead. For instance:
362362
363-
```compile_pass,no_run
363+
```no_run
364364
struct Irrefutable(i32);
365365
let irr = Irrefutable(0);
366366

0 commit comments

Comments
 (0)