about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Cann <shum@canndrew.org>2017-01-06 01:00:03 +0800
committerAndrew Cann <shum@canndrew.org>2017-01-06 01:00:03 +0800
commit275c19d5b6a0f5eceb93e60ee314e73909a12faf (patch)
treef48c2bd9bb667a65dc940c28ab63290eabf678fe
parent291c84aad48d09e31e84045c1ffccf82e7c2d443 (diff)
downloadrust-275c19d5b6a0f5eceb93e60ee314e73909a12faf.tar.gz
rust-275c19d5b6a0f5eceb93e60ee314e73909a12faf.zip
fix doc test for E0001
-rw-r--r--src/librustc_const_eval/diagnostics.rs2
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