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

7 lines
80 B
Rust
Raw Normal View History

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