]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/derive-helper-shadowing.stderr
Rollup merge of #63984 - cuviper:rust-installer-mem, r=Mark-Simulacrum
[rust.git] / src / test / ui / proc-macro / derive-helper-shadowing.stderr
1 error[E0659]: `empty_helper` is ambiguous (derive helper attribute vs any other name)
2   --> $DIR/derive-helper-shadowing.rs:8:3
3    |
4 LL | #[empty_helper]
5    |   ^^^^^^^^^^^^ ambiguous name
6    |
7 note: `empty_helper` could refer to the derive helper attribute defined here
8   --> $DIR/derive-helper-shadowing.rs:9:10
9    |
10 LL | #[derive(Empty)]
11    |          ^^^^^
12 note: `empty_helper` could also refer to the attribute macro imported here
13   --> $DIR/derive-helper-shadowing.rs:6:5
14    |
15 LL | use test_macros::empty_attr as empty_helper;
16    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17    = help: use `crate::empty_helper` to refer to this attribute macro unambiguously
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0659`.