fix "correct" case in diagnostic error message

This commit is contained in:
Niko Matsakis 2017-09-10 06:08:29 -04:00
parent cfc7cf3961
commit 88e4bf6827

View File

@ -1433,7 +1433,7 @@ outlives another using a `where` clause:
fn make_child<'tree, 'human>(
x: &'human i32,
y: &'tree i32
) -> &'tree i32
) -> &'human i32
where
'tree: 'human
{