]> git.lizzy.rs Git - rust.git/blob - tests/ui/block-result/issue-3563.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / block-result / issue-3563.rs
1 trait A {
2     fn a(&self) {
3         || self.b()
4         //~^ ERROR no method named `b` found
5     }
6 }
7 fn main() {}