]> git.lizzy.rs Git - rust.git/blob - tests/pretty/fn-types.rs
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / pretty / fn-types.rs
1 // pp-exact
2
3 fn from_foreign_fn(_x: fn()) {}
4 fn from_stack_closure<F>(_x: F) where F: Fn() {}
5 fn main() {}