-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Report never type lints in dependencies #141937
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
base: master
Are you sure you want to change the base?
Conversation
In advance of the Rust 2024 edition, we made a plan for later stabilizing the never type (via FCP in #123508). The plan went like this:
These FCWs have been out there a long time now -- since Rust 1.80. The edition has been out since Rust 1.85. I propose that we take the next step and extend the FCWs to lint in dependencies in preparation for next taking the final step to change fallback in all editions and stabilize the never type. @rfcbot fcp merge Tracking: |
Team member @traviscross has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! cc @rust-lang/lang-advisors: FCP proposed for lang, please feel free to register concerns. |
Big thanks to @WaffleLapkin for pushing this forward. |
☔ The latest upstream changes (presumably #141954) made this pull request unmergeable. Please resolve the merge conflicts. |
dd912ec
to
851129f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with FCP finished
Makes sense to me! Always happy to see progress on @rfcbot reviewed |
@rfcbot reviewed |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
This PR marks never type lints (
never_type_fallback_flowing_into_unsafe
&dependency_on_unit_never_type_fallback
) to be included in cargo's reports / to be emitted when they happen in dependencies.This PR is based on #141936
r? oli-obk