diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-05 18:06:54 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-05 18:06:54 -0800 |
| commit | 80cd6aa96ed03f5f46d5e5a5fc09b096522b1d69 (patch) | |
| tree | a744405e8ddfb654883d84e481fea6644fccd7ed | |
| parent | 0b43bf9782042250afc06ebdce23a3bcea0fd10b (diff) | |
| download | rust-80cd6aa96ed03f5f46d5e5a5fc09b096522b1d69.tar.gz rust-80cd6aa96ed03f5f46d5e5a5fc09b096522b1d69.zip | |
test: Update and un-xfail compile-fail/tag-that-dare-not...
| -rw-r--r-- | src/test/compile-fail/tag-that-dare-not-speak-its-name.rs | 15 |
1 files 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<T: copy>(v: [const T]) -> core::option<T> { + fail; +} fn main() { let y; |
