From fd868d4bf4d0be79b7bb0c38145faecb18f18217 Mon Sep 17 00:00:00 2001 From: Dylan DPC Date: Wed, 13 Nov 2019 02:16:01 +0100 Subject: [PATCH] tidy up! --- src/librustc/error_codes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/error_codes.rs b/src/librustc/error_codes.rs index dab8fd565facc..a7a66fd7cd786 100644 --- a/src/librustc/error_codes.rs +++ b/src/librustc/error_codes.rs @@ -1912,8 +1912,8 @@ fn bar<'short, 'long>(c: Foo<'short>, l: &'long isize) { ``` In this example, we tried to set a value with an incompatible lifetime to -another one (`'long` is unrelated to `'short`). We can solve this issue in two different -ways: +another one (`'long` is unrelated to `'short`). We can solve this issue in +two different ways: Either we make `'short` live at least as long as `'long`: