Skip to content

Commit a5d2db4

Browse files
committed
arg position
1 parent 5ac268c commit a5d2db4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// run-pass
2+
#![allow(unused_must_use)]
3+
fn bug(_: impl Iterator<Item = [(); { |x: u32| { x }; 4 }]>) {}
4+
5+
fn main() {
6+
bug(std::iter::empty());
7+
}

0 commit comments

Comments
 (0)