Open
Description
Code
#[derive(ILove)]
struct A {
#[beans]
pub yes: bool,
}
Current output
error: cannot find derive macro `ILove` in this scope
--> src/lib.rs:1:10
|
1 | #[derive(ILove)]
| ^^^^^
error: cannot find attribute `beans` in this scope
--> src/lib.rs:3:7
|
3 | #[beans]
| ^^^^^
Desired output
error: cannot find derive macro `ILove` in this scope
--> src/lib.rs:1:10
|
1 | #[derive(ILove)]
| ^^^^^
Rationale and extra context
The beans
attribute may be provided by the proc macro, this error is a useless and noisy follow-up error which should be suppressed.
Other cases
#[you_love]
struct A {
#[beans]
pub yes: bool,
}
Rust Version
nightly-2024-02-24
Anything else?
No response