]>
git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/assoc_fn_without_self.rs
10 fn baz(a
: u8, b
: u8) {}
14 foo(); //~ ERROR cannot find function `foo` in this scope
16 foo(); //~ ERROR cannot find function `foo` in this scope
17 bar(); //~ ERROR cannot find function `bar` in this scope
18 baz(2, 3); //~ ERROR cannot find function `baz` in this scope
22 foo(); //~ ERROR cannot find function `foo` in this scope
24 foo(); //~ ERROR cannot find function `foo` in this scope
25 bar(); //~ ERROR cannot find function `bar` in this scope
26 baz(2, 3); //~ ERROR cannot find function `baz` in this scope