13 lines
137 B
Rust
13 lines
137 B
Rust
// error-pattern:expecting ., found (
|
|
fn main() {
|
|
|
|
obj foo() {
|
|
fn m() {
|
|
self();
|
|
}
|
|
}
|
|
|
|
let a = foo;
|
|
a.m();
|
|
}
|