summary refs log tree commit diff
path: root/src/test/ui/macros
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-12-02 11:39:42 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2020-12-02 11:39:42 +0900
commitcdcce115043a19b2bbc154e56b59fa2f5017bbbc (patch)
tree25404241f9fe5026d3a7fc624216edd794576a5d /src/test/ui/macros
parent6645da366eed0c61258a04265bea513e94df7ea6 (diff)
downloadrust-cdcce115043a19b2bbc154e56b59fa2f5017bbbc.tar.gz
rust-cdcce115043a19b2bbc154e56b59fa2f5017bbbc.zip
Tweak diagnostics on shadowing lifetimes/labels
Diffstat (limited to 'src/test/ui/macros')
-rw-r--r--src/test/ui/macros/macro-lifetime-used-with-labels.stderr2
1 files changed, 1 insertions, 1 deletions
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