WIP do not use in-band lifetimes
This commit is contained in:
parent
3955708576
commit
48c4e352d3
1 changed files with 1 additions and 1 deletions
|
@ -2087,7 +2087,7 @@ use std::cell::Cell;
|
|||
|
||||
trait Trait<'a> { }
|
||||
|
||||
impl Trait<'b> for Cell<&'a u32> { }
|
||||
impl<'a, 'b> Trait<'b> for Cell<&'a u32> { }
|
||||
|
||||
fn foo<'x, 'y>(x: Cell<&'x u32>) -> impl Trait<'y>
|
||||
where 'x: 'y
|
||||
|
|
Loading…
Add table
Reference in a new issue