Enable test for #3707
This commit is contained in:
parent
bd5fd6e42a
commit
4f436a8b85
1 changed files with 2 additions and 3 deletions
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-test
|
||||
struct Obj {
|
||||
member: uint
|
||||
}
|
||||
|
@ -17,8 +16,8 @@ pub impl Obj {
|
|||
fn boom() -> bool {
|
||||
return 1+1 == 2
|
||||
}
|
||||
fn chirp() {
|
||||
self.boom(); //~ ERROR wat
|
||||
fn chirp(&self) {
|
||||
self.boom(); //~ ERROR `&Obj` does not implement any method in scope named `boom`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue