Skip to content

Commit 0adf704

Browse files
add'l test
1 parent ef2a611 commit 0adf704

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// check-pass
2+
// issue: 114597
3+
// edition: 2021
4+
5+
struct A<'a> {
6+
dat: &'a (),
7+
}
8+
9+
impl<'a> A<'a> {
10+
async fn a(&self) -> impl Iterator<Item = std::iter::Repeat<()>> {
11+
std::iter::repeat(()).map(|()| std::iter::repeat(()))
12+
}
13+
}
14+
15+
fn main() {}

0 commit comments

Comments
 (0)