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