2019-10-05 23:28:49 +03:00
|
|
|
error: cannot find attribute `empty_helper` in this scope
|
|
|
|
|
--> $DIR/disappearing-resolution.rs:18:3
|
|
|
|
|
|
|
|
|
|
|
LL | #[empty_helper]
|
|
|
|
|
| ^^^^^^^^^^^^
|
2024-12-28 02:19:35 +00:00
|
|
|
|
|
|
|
|
|
help: `empty_helper` is an attribute that can be used by the derive macro `Empty`, you might be missing a `derive` attribute
|
|
|
|
|
|
|
|
|
|
|
LL + #[derive(Empty)]
|
|
|
|
|
LL | struct S;
|
|
|
|
|
|
|
2019-10-05 23:28:49 +03:00
|
|
|
|
2020-01-12 16:20:57 +03:00
|
|
|
error[E0603]: derive macro import `Empty` is private
|
2019-10-05 23:28:49 +03:00
|
|
|
--> $DIR/disappearing-resolution.rs:11:8
|
|
|
|
|
|
|
|
|
|
|
LL | use m::Empty;
|
2020-03-22 15:36:54 -07:00
|
|
|
| ^^^^^ private derive macro import
|
2020-01-12 16:04:03 +03:00
|
|
|
|
|
2020-06-24 13:16:36 -04:00
|
|
|
note: the derive macro import `Empty` is defined here...
|
2020-01-12 16:04:03 +03:00
|
|
|
--> $DIR/disappearing-resolution.rs:9:9
|
|
|
|
|
|
|
|
|
|
|
LL | use test_macros::Empty;
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2020-06-24 13:16:36 -04:00
|
|
|
note: ...and refers to the derive macro `Empty` which is defined here
|
2024-11-24 17:37:25 -08:00
|
|
|
--> $DIR/auxiliary/test-macros.rs:20:1
|
2020-06-24 13:16:36 -04:00
|
|
|
|
|
|
|
|
|
LL | pub fn empty_derive(_: TokenStream) -> TokenStream {
|
2023-11-19 17:46:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
|
|
|
|
|
help: import `Empty` directly
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - use m::Empty;
|
|
|
|
|
LL + use test_macros::Empty;
|
|
|
|
|
|
|
2019-10-05 23:28:49 +03:00
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|