From cdcce115043a19b2bbc154e56b59fa2f5017bbbc Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 2 Dec 2020 11:39:42 +0900 Subject: Tweak diagnostics on shadowing lifetimes/labels --- src/test/ui/macros/macro-lifetime-used-with-labels.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/ui/macros') diff --git a/src/test/ui/macros/macro-lifetime-used-with-labels.stderr b/src/test/ui/macros/macro-lifetime-used-with-labels.stderr index 98ee85d908d..68f885e9e45 100644 --- a/src/test/ui/macros/macro-lifetime-used-with-labels.stderr +++ b/src/test/ui/macros/macro-lifetime-used-with-labels.stderr @@ -2,7 +2,7 @@ warning: label name `'b` shadows a label name that is already in scope --> $DIR/macro-lifetime-used-with-labels.rs:21:9 | LL | 'b: loop { - | ^^ lifetime 'b already in scope + | ^^ label `'b` already in scope ... LL | 'b: loop { | -- first declared here -- cgit 1.4.1-3-g733a5