1
Fork 0

some nits, bless test

This commit is contained in:
Michael Goulet 2023-07-27 18:23:42 +00:00
parent 50d21091ee
commit 744e770939
3 changed files with 29 additions and 21 deletions

View file

@ -17,7 +17,6 @@ impl<'a, I: 'a + Iterable> Iterable for &'a I {
//~^ ERROR impl has stricter requirements than trait
fn iter(&self) -> impl 'a + Iterator<Item = I::Item<'a>> {
//~^ ERROR the type `&'a I` does not fulfill the required lifetime
(*self).iter()
}
}