Skip to content

Commit 4f436a8

Browse files
committed
Enable test for rust-lang#3707
1 parent bd5fd6e commit 4f436a8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/compile-fail/issue-3707.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// xfail-test
1211
struct Obj {
1312
member: uint
1413
}
@@ -17,8 +16,8 @@ pub impl Obj {
1716
fn boom() -> bool {
1817
return 1+1 == 2
1918
}
20-
fn chirp() {
21-
self.boom(); //~ ERROR wat
19+
fn chirp(&self) {
20+
self.boom(); //~ ERROR `&Obj` does not implement any method in scope named `boom`
2221
}
2322
}
2423

0 commit comments

Comments
 (0)