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 20:32:13 -06:00
trait A {
2015-01-03 09:45:00 -06:00
fn a(&self) {
|| self.b()
//~^ ERROR no method named `b` found
2015-01-03 09:45:00 -06:00
}
2012-12-06 20:32:13 -06:00
}
fn main() {}