WIP do not use in-band lifetimes

This commit is contained in:
Niko Matsakis
2018-03-21 19:22:41 -04:00
parent 3955708576
commit 48c4e352d3
+1 -1
View File
@@ -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