diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-03-21 19:22:41 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-03-21 19:22:41 -0400 |
| commit | 48c4e352d38479a5adcd664bef3a208640ba5cbc (patch) | |
| tree | 20869213a53d31ec8a122a4ab5aa910142578efb | |
| parent | 395570857686648f76ba801d3cde24e4cb906934 (diff) | |
| download | rust-48c4e352d38479a5adcd664bef3a208640ba5cbc.tar.gz rust-48c4e352d38479a5adcd664bef3a208640ba5cbc.zip | |
WIP do not use in-band lifetimes
| -rw-r--r-- | src/librustc/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 4c2dd8c2718..10156d22501 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -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 |
