about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2021-03-03 12:15:26 -0800
committerEsteban Küber <esteban@kuber.com.ar>2021-03-03 12:15:26 -0800
commit5d0697b1be074a0774f521baf97492260e2a0737 (patch)
treeeb268d718c0548dc2fcfabc9c8f26550e36921bd /src
parent5824917dbb895a0fec2135d7c448b64317dd0aad (diff)
downloadrust-5d0697b1be074a0774f521baf97492260e2a0737.tar.gz
rust-5d0697b1be074a0774f521baf97492260e2a0737.zip
reworded message
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/lifetimes/undeclared-lifetime-used-in-debug-macro-issue-70152.stderr4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/ui/lifetimes/undeclared-lifetime-used-in-debug-macro-issue-70152.stderr b/src/test/ui/lifetimes/undeclared-lifetime-used-in-debug-macro-issue-70152.stderr
index 01dc0edc61e..30142e24cd5 100644
--- a/src/test/ui/lifetimes/undeclared-lifetime-used-in-debug-macro-issue-70152.stderr
+++ b/src/test/ui/lifetimes/undeclared-lifetime-used-in-debug-macro-issue-70152.stderr
@@ -27,10 +27,12 @@ LL |     a: &'b str,
 error[E0261]: use of undeclared lifetime name `'b`
   --> $DIR/undeclared-lifetime-used-in-debug-macro-issue-70152.rs:3:9
    |
+LL | #[derive(Eq, PartialEq)]
+   |          -- lifetime `'b` is missing in item created through this procedural macro
+LL | struct Test {
 LL |     a: &'b str,
    |         ^^ undeclared lifetime
    |
-   = help: consider introducing lifetime `'b` to the item's generics
    = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
 
 error: aborting due to 3 previous errors