add'l test
This commit is contained in:
parent
ef2a611803
commit
0adf7048d2
1 changed files with 15 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
||||||
|
// check-pass
|
||||||
|
// issue: 114597
|
||||||
|
// edition: 2021
|
||||||
|
|
||||||
|
struct A<'a> {
|
||||||
|
dat: &'a (),
|
||||||
|
}
|
||||||
|
|
||||||
|
impl<'a> A<'a> {
|
||||||
|
async fn a(&self) -> impl Iterator<Item = std::iter::Repeat<()>> {
|
||||||
|
std::iter::repeat(()).map(|()| std::iter::repeat(()))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue