We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f690098 commit bca1c3cCopy full SHA for bca1c3c
src/test/ui/existential_types/issue-58951.rs
@@ -0,0 +1,10 @@
1
+// run-pass
2
+#![feature(existential_type)]
3
+
4
+existential type A: Iterator;
5
+fn def_a() -> A { 0..1 }
6
+pub fn use_a() {
7
+ def_a().map(|x| x);
8
+}
9
10
+fn main() {}
0 commit comments