-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bogus unknown attribute errors in newest nightly #53481
Comments
Unfortunately, feature gate errors are fatal (this needs to be fixed), so in this case they hide the true issue:
All in all, this happens due to The workaround is to avoid |
Minimized: #[macro_use]
extern crate serde_derive;
mod m1 {
use m2::Deserialize;
#[derive(Deserialize)] //~ ERROR cannot determine resolution for the derive macro `Deserialize`
struct A {}
}
mod m2 {
pub type Deserialize = u8;
#[derive(Deserialize)]
#[serde]
struct B {}
} |
I believe my project is hitting a similar issue: see the travis CI runs for this PR: graphql-rust/graphql-client#79
(happens only on nightly) |
Fixed in #53587 |
visiting for triage. P-high. (Hopefully the aforementioned PR will land before next week's meeting.) |
For those looking for a nightly to use, nightly-2018-08-17 is the newest that does not hit this issue.
|
Fixed in #54086 |
log4rs no longer builds on nightly with bogus unknown attribute errors:
Those attributes are used on types with
#[derive(Deserialize)]
so the serde attribute should be whitelisted: https://github.com/sfackler/log4rs/blob/master/src/append/file.rs#L22-L30estk/log4rs#75
The text was updated successfully, but these errors were encountered: