Skip to content

Commit

Permalink
fix doc test for E0001
Browse files Browse the repository at this point in the history
  • Loading branch information
canndrew committed Jan 5, 2017
1 parent 291c84a commit 275c19d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_const_eval/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ one is too specific or the ordering is incorrect.
For example, the following `match` block has too many arms:
```compile_fail,E0001
```
match Some(0) {
Some(bar) => {/* ... */}
x => {/* ... */} // This handles the `None` case
Expand Down

0 comments on commit 275c19d

Please sign in to comment.