]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/proc-macro/derive-helper-shadowing.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / proc-macro / derive-helper-shadowing.stderr
index 4115fec86fbc84ca4ef0a155154fee2f551e1174..3b160935a2f8d91d37fb2011485f587bb74eca40 100644 (file)
@@ -16,6 +16,8 @@ error: cannot find attribute `empty_helper` in this scope
 LL |             #[derive(GenHelperUse)]
    |                      ^^^^^^^^^^^^
    |
+   = note: consider importing this attribute macro:
+           empty_helper
    = note: this error originates in the derive macro `GenHelperUse` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: cannot find attribute `empty_helper` in this scope
@@ -27,6 +29,8 @@ LL |         #[empty_helper]
 LL |             gen_helper_use!();
    |             ------------------ in this macro invocation
    |
+   = note: consider importing this attribute macro:
+           crate::empty_helper
    = note: this error originates in the macro `gen_helper_use` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error[E0659]: `empty_helper` is ambiguous (name vs any other name during import resolution)