rust/src/test/run-pass/fn-coerce-field.rs

8 lines
86 B
Rust

type r = {
field: fn@()
};
fn main() {
fn f() {}
let i: r = {field: f};
}