From 5af11d261d38c6dad4475c933ffa59a388979cfb Mon Sep 17 00:00:00 2001 From: Remy Rakic Date: Mon, 30 Mar 2020 01:30:26 +0200 Subject: [PATCH] bless output of ui test nll/user-annotations/closure-substs.rs Trivial diagnostics grammar change --- src/test/ui/nll/user-annotations/closure-substs.polonius.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/nll/user-annotations/closure-substs.polonius.stderr b/src/test/ui/nll/user-annotations/closure-substs.polonius.stderr index d5bcdf64441..46b6c04dcbc 100644 --- a/src/test/ui/nll/user-annotations/closure-substs.polonius.stderr +++ b/src/test/ui/nll/user-annotations/closure-substs.polonius.stderr @@ -50,7 +50,7 @@ error[E0521]: borrowed data escapes outside of closure --> $DIR/closure-substs.rs:29:9 | LL | |x: &i32, b: fn(&'static i32)| { - | - - `b` is declared here, outside of the closure body + | - - `b` declared here, outside of the closure body | | | `x` is a reference that is only valid in the closure body LL | b(x);