-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
pin-project-lite 0.1.9 breaks surf v2.0.0-alpha.*. #33
Comments
And basically, most macros do not guarantee compatibility with So, as long as there is good reason to allow that lint, I believe this is a problem on the part of the user using FYI: |
Closing in favor of http-rs/surf#244. |
This will be fixed in http-rs/surf#245 |
The "rust 2018" idioms lint should only be cover the rules introduced for the 2018 edition; the plan as I understood it was that during the 2018 edition these opt-in lints would gradually become warnings out of the box. And in the next edition these will become hard errors and disallowed. Reality is a bit more fluid, and it's unclear what exactly will happen in the 2021 edition. But unless I'm mistaken, the set of rules covered by |
"Add a new warning" does not mean "Add a new lint". It includes adding warnings to existing lint. For example:
Both are "improvements to existing lint", but they are also "adds warnings". So crates released with
If I remember correctly, this should only happen in parts of
|
Ah yeah, that's very fair. I think you're right that these lints should have been |
To reproduce the problem, create a new cargo project with the following dependencies:
Run
cargo check
. It will report the following error:The text was updated successfully, but these errors were encountered: