File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
branches/try/src/test/compile-fail Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: 0b43bf9782042250afc06ebdce23a3bcea0fd10b
5
+ refs/heads/try: 80cd6aa96ed03f5f46d5e5a5fc09b096522b1d69
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change 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
+ }
6
11
7
12
fn main ( ) {
8
13
let y;
You can’t perform that action at this time.
0 commit comments