-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Cannot compile dotenv v0.10.1
#66508
Comments
Example of failing builds: https://dev.azure.com/diesel-rs/diesel/_build/results?buildId=624&view=logs. |
@rustbot modify labels: +E-needs-bisection It'd be nice if somebody pinpointed specific PR (or nightly at least). Maybe @petrochenkov has a clue what could have caused it. |
Seems to be introduced at nightly-2019-11-17. Unfortunately I'm not able to bisect that further because cargo-bisect-rustc is telling me: |
Likely #64694 |
Fixed in #66529. |
resolve: Give derive helpers highest priority during resolution So they just shadow everything else and don't create ambiguity errors. This matches the old pre-rust-lang#64694 behavior most closely. --- The change doesn't apply to this "compatibility" case ```rust #[trait_helper] // The helper attribute is used before it introduced. // Sadly, compiles on stable, supported via hacks. // I plan to make a compatibility warning for this. #[derive(Trait)] struct S; ``` , such attributes still create ambiguities, but rust-lang#64694 didn't change anything for this case. Fixes rust-lang#66508 Fixes rust-lang#66525
This is a dependency of diesel. I was trying to compile
diesel_cli
; it failed on both the master branch and the current published version.Indeed, the code does seem to treat
error_chain
as simultaneously a derive macro and an attribute macro. It works fine on stable.The text was updated successfully, but these errors were encountered: