rust/tests/pretty/fn-types.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
107 B
Rust
Raw Normal View History

// pp-exact
2021-12-02 03:45:14 +08:00
fn from_foreign_fn(_x: fn()) {}
fn from_stack_closure<F>(_x: F) where F: Fn() {}
fn main() {}