rust/tests/pretty/fn-types.rs
2023-01-11 09:32:08 +00:00

6 lines
107 B
Rust

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