rust/tests/pretty/fn-types.rs

6 lines
108 B
Rust

//@ pp-exact
fn from_foreign_fn(_x: fn()) {}
fn from_stack_closure<F>(_x: F) where F: Fn() {}
fn main() {}