fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
860 B26 linesraw
1error: cannot find attribute `empty_helper` in this scope
2  --> $DIR/disappearing-resolution.rs:18:3
3   |
4LL | #[empty_helper]
5   |   ^^^^^^^^^^^^
6
7error[E0603]: derive macro import `Empty` is private
8  --> $DIR/disappearing-resolution.rs:11:8
9   |
10LL | use m::Empty;
11   |        ^^^^^ private derive macro import
12   |
13note: the derive macro import `Empty` is defined here...
14  --> $DIR/disappearing-resolution.rs:9:9
15   |
16LL |     use test_macros::Empty;
17   |         ^^^^^^^^^^^^^^^^^^
18note: ...and refers to the derive macro `Empty` which is defined here
19  --> $DIR/auxiliary/test-macros.rs:25:1
20   |
21LL | pub fn empty_derive(_: TokenStream) -> TokenStream {
22   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
23
24error: aborting due to 2 previous errors
25
26For more information about this error, try `rustc --explain E0603`.