From 2e4224a9983cacf6ef1a2787c0084d743abb27e1 Mon Sep 17 00:00:00 2001 From: David Wood Date: Thu, 26 Jul 2018 15:36:41 +0200 Subject: Region inference error messages no longer start with 'free region' --- src/test/ui/error-codes/E0621-does-not-trigger-for-closures.nll.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/ui/error-codes') diff --git a/src/test/ui/error-codes/E0621-does-not-trigger-for-closures.nll.stderr b/src/test/ui/error-codes/E0621-does-not-trigger-for-closures.nll.stderr index 14d889dca73..0ac295c54bc 100644 --- a/src/test/ui/error-codes/E0621-does-not-trigger-for-closures.nll.stderr +++ b/src/test/ui/error-codes/E0621-does-not-trigger-for-closures.nll.stderr @@ -10,7 +10,7 @@ error: unsatisfied lifetime constraints LL | invoke(&x, |a, b| if a > b { a } else { b }); //~ ERROR E0495 | ----------^^^^^----------------- | | | | - | | | free region requires that `'1` must outlive `'2` + | | | requires that `'1` must outlive `'2` | | has type `&'1 i32` | lifetime `'2` appears in return type -- cgit 1.4.1-3-g733a5