Skip to content

Commit 80cd6aa

Browse files
committed
test: Update and un-xfail compile-fail/tag-that-dare-not...
1 parent 0b43bf9 commit 80cd6aa

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/test/compile-fail/tag-that-dare-not-speak-its-name.rs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
// -*- rust -*-
2-
// xfail-test
3-
// error-pattern:option
4-
use std;
5-
import vec::*;
1+
// error-pattern:mismatched types: expected `char` but found
2+
// Issue #876
3+
4+
#[no_core];
5+
6+
use core;
7+
8+
fn last<T: copy>(v: [const T]) -> core::option<T> {
9+
fail;
10+
}
611

712
fn main() {
813
let y;

0 commit comments

Comments
 (0)