diff options
| author | Andrew Cann <shum@canndrew.org> | 2017-01-06 01:00:03 +0800 |
|---|---|---|
| committer | Andrew Cann <shum@canndrew.org> | 2017-01-06 01:00:03 +0800 |
| commit | 275c19d5b6a0f5eceb93e60ee314e73909a12faf (patch) | |
| tree | f48c2bd9bb667a65dc940c28ab63290eabf678fe | |
| parent | 291c84aad48d09e31e84045c1ffccf82e7c2d443 (diff) | |
| download | rust-275c19d5b6a0f5eceb93e60ee314e73909a12faf.tar.gz rust-275c19d5b6a0f5eceb93e60ee314e73909a12faf.zip | |
fix doc test for E0001
| -rw-r--r-- | src/librustc_const_eval/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_const_eval/diagnostics.rs b/src/librustc_const_eval/diagnostics.rs index ff0976afc0c..8c8b2b5da36 100644 --- a/src/librustc_const_eval/diagnostics.rs +++ b/src/librustc_const_eval/diagnostics.rs @@ -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 |
