Skip to content

Commit 88e4bf6

Browse files
committed
fix "correct" case in diagnostic error message
1 parent cfc7cf3 commit 88e4bf6

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
@@ -1433,7 +1433,7 @@ outlives another using a `where` clause:
14331433
fn make_child<'tree, 'human>(
14341434
x: &'human i32,
14351435
y: &'tree i32
1436-
) -> &'tree i32
1436+
) -> &'human i32
14371437
where
14381438
'tree: 'human
14391439
{

0 commit comments

Comments
 (0)