]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-3707.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-3707.rs
1 struct Obj {
2 member: usize
3 }
4
5 impl Obj {
6 pub fn boom() -> bool {
7 return 1+1 == 2
8 }
9 pub fn chirp(&self) {
10 self.boom(); //~ ERROR no method named `boom` found
11 }
12 }
13
14 fn main() {
15 let o = Obj { member: 0 };
16 o.chirp();
17 1 + 1;
18 }