Skip to content

Commit 275c19d

Browse files
committed
fix doc test for E0001
1 parent 291c84a commit 275c19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_const_eval/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ one is too specific or the ordering is incorrect.
2727
2828
For example, the following `match` block has too many arms:
2929
30-
```compile_fail,E0001
30+
```
3131
match Some(0) {
3232
Some(bar) => {/* ... */}
3333
x => {/* ... */} // This handles the `None` case

0 commit comments

Comments
 (0)