rust/tests/ui/block-result/issue-3563.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
114 B
Rust
Raw Normal View History

2012-12-06 18:32:13 -08:00
trait A {
2015-01-03 10:45:00 -05:00
fn a(&self) {
|| self.b()
//~^ ERROR no method named `b` found
2015-01-03 10:45:00 -05:00
}
2012-12-06 18:32:13 -08:00
}
fn main() {}