From 80cd6aa96ed03f5f46d5e5a5fc09b096522b1d69 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sun, 5 Feb 2012 18:06:54 -0800 Subject: [PATCH] test: Update and un-xfail compile-fail/tag-that-dare-not... --- .../tag-that-dare-not-speak-its-name.rs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/test/compile-fail/tag-that-dare-not-speak-its-name.rs b/src/test/compile-fail/tag-that-dare-not-speak-its-name.rs index e429db659ab..01d428c7917 100644 --- a/src/test/compile-fail/tag-that-dare-not-speak-its-name.rs +++ b/src/test/compile-fail/tag-that-dare-not-speak-its-name.rs @@ -1,8 +1,13 @@ -// -*- rust -*- -// xfail-test -// error-pattern:option -use std; -import vec::*; +// error-pattern:mismatched types: expected `char` but found +// Issue #876 + +#[no_core]; + +use core; + +fn last(v: [const T]) -> core::option { + fail; +} fn main() { let y;