38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
6 lines
49 B
Rust
6 lines
49 B
Rust
pub fn f(new: fn()) {
|
|
new();
|
|
}
|
|
|
|
fn main() {}
|