about summary refs log tree commit diff
path: root/src/test/ui/block-result/issue-3563.rs
blob: 9b313d3e9b2787a4d9547a5b589b93f98e4980f9 (plain)
1
2
3
4
5
6
7
trait A {
    fn a(&self) {
        || self.b()
        //~^ ERROR no method named `b` found for type `&Self` in the current scope
    }
}
fn main() {}