From 275c19d5b6a0f5eceb93e60ee314e73909a12faf Mon Sep 17 00:00:00 2001 From: Andrew Cann Date: Fri, 6 Jan 2017 01:00:03 +0800 Subject: [PATCH] fix doc test for E0001 --- src/librustc_const_eval/diagnostics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_const_eval/diagnostics.rs b/src/librustc_const_eval/diagnostics.rs index ff0976afc0ce..8c8b2b5da36d 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