arg position

This commit is contained in:
Bastian Kauschke 2020-10-05 01:19:58 +02:00
parent 5ac268c435
commit a5d2db4a58

View file

@ -0,0 +1,7 @@
// run-pass
#![allow(unused_must_use)]
fn bug(_: impl Iterator<Item = [(); { |x: u32| { x }; 4 }]>) {}
fn main() {
bug(std::iter::empty());
}