summaryrefslogtreecommitdiffstats
path: root/tests/ui/block-result/issue-3563.rs
blob: 0b652a1f54bf2635d87e0f4278fe1d14b19d2842 (plain)
1
2
3
4
5
6
7
trait A {
    fn a(&self) {
        || self.b()
        //~^ ERROR no method named `b` found
    }
}
fn main() {}