fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
810 B21 linesraw
1error[E0659]: `empty_helper` is ambiguous (derive helper attribute vs any other name)
2  --> $DIR/helper-attr-blocked-by-import-ambig.rs:8:3
3   |
4LL | #[empty_helper]
5   |   ^^^^^^^^^^^^ ambiguous name
6   |
7note: `empty_helper` could refer to the derive helper attribute defined here
8  --> $DIR/helper-attr-blocked-by-import-ambig.rs:7:10
9   |
10LL | #[derive(Empty)]
11   |          ^^^^^
12note: `empty_helper` could also refer to the attribute macro imported here
13  --> $DIR/helper-attr-blocked-by-import-ambig.rs:5:5
14   |
15LL | use test_macros::empty_attr as empty_helper;
16   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17   = help: use `crate::empty_helper` to refer to this attribute macro unambiguously
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0659`.