We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac268c commit a5d2db4Copy full SHA for a5d2db4
src/test/ui/impl-trait/closure-in-impl-trait-arg.rs
@@ -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