Skip to content

Commit b9b21b2

Browse files
committed
Update test and un-xfail it
1 parent 9d6ab9a commit b9b21b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/compile-fail/vec-res-add.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// xfail-test #2587
21
// error-pattern: copying a noncopyable value
32

43
struct r {
5-
let i:int;
6-
new(i:int) {self.i = i;}
4+
i:int
75
}
86

7+
fn r(i:int) -> r { r { i: i } }
8+
99
impl r : Drop {
1010
fn finalize() {}
1111
}

0 commit comments

Comments
 (0)