2019-10-05 20:28:49 +00:00
|
|
|
error: cannot find attribute `empty_helper` in this scope
|
|
|
|
--> $DIR/disappearing-resolution.rs:18:3
|
|
|
|
|
|
|
|
|
LL | #[empty_helper]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-01-12 13:20:57 +00:00
|
|
|
error[E0603]: derive macro import `Empty` is private
|
2019-10-05 20:28:49 +00:00
|
|
|
--> $DIR/disappearing-resolution.rs:11:8
|
|
|
|
|
|
|
|
|
LL | use m::Empty;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^ private derive macro import
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
2020-06-24 17:16:36 +00:00
|
|
|
note: the derive macro import `Empty` is defined here...
|
2020-01-12 13:04:03 +00:00
|
|
|
--> $DIR/disappearing-resolution.rs:9:9
|
|
|
|
|
|
|
|
|
LL | use test_macros::Empty;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2020-06-24 17:16:36 +00:00
|
|
|
note: ...and refers to the derive macro `Empty` which is defined here
|
|
|
|
--> $DIR/auxiliary/test-macros.rs:25:1
|
|
|
|
|
|
|
|
|
LL | pub fn empty_derive(_: TokenStream) -> TokenStream {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
|
2019-10-05 20:28:49 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|