File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
trunk/src/test/compile-fail Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 19d2ba33832d1fa1ba6485df7b481e9aa5e5bd02
2
+ refs/heads/master: 506392830052ec5da8ad0cdb0afc3439ec69f938
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
5
5
refs/heads/try: c50a9d5b664478e533ba1d1d353213d70c8ad589
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- // xfail-test
12
11
struct Obj {
13
12
member : uint
14
13
}
@@ -17,8 +16,8 @@ pub impl Obj {
17
16
fn boom ( ) -> bool {
18
17
return 1 +1 == 2
19
18
}
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`
22
21
}
23
22
}
24
23
You can’t perform that action at this time.
0 commit comments