Skip to content

Commit 48c4e35

Browse files
committed
WIP do not use in-band lifetimes
1 parent 3955708 commit 48c4e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,7 @@ use std::cell::Cell;
20872087
20882088
trait Trait<'a> { }
20892089
2090-
impl Trait<'b> for Cell<&'a u32> { }
2090+
impl<'a, 'b> Trait<'b> for Cell<&'a u32> { }
20912091
20922092
fn foo<'x, 'y>(x: Cell<&'x u32>) -> impl Trait<'y>
20932093
where 'x: 'y

0 commit comments

Comments
 (0)