rust/tests/ui/block-result/issue-3563.rs
2023-01-11 09:32:08 +00:00

8 lines
114 B
Rust

trait A {
fn a(&self) {
|| self.b()
//~^ ERROR no method named `b` found
}
}
fn main() {}