some nits, bless test
This commit is contained in:
parent
50d21091ee
commit
744e770939
3 changed files with 29 additions and 21 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue