mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 15:23:26 +03:00
WIP do not use in-band lifetimes
This commit is contained in:
@@ -2087,7 +2087,7 @@ struct Foo {
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user