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