]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unnamed_argument_mode.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / ui / unnamed_argument_mode.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 fn good(_a: &isize) {
5 }
6
7 // unnamed argument &isize is now parse x: &isize
8
9 fn called<F>(_f: F) where F: FnOnce(&isize) {
10 }
11
12 pub fn main() {
13     called(good);
14 }