-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Turn order dependent trait objects future incompat warning into a hard error #136968
base: master
Are you sure you want to change the base?
Conversation
@bors try |
Turn order dependent trait objects future incompat warning into a hard error fixes rust-lang#56484 r? `@ghost` will FCP when we have a crater result
☀️ Try build successful - checks-actions |
@craterbot check |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🎉 Experiment
|
🤔 hmm all the failures are because of crates with lockfiles for traitobject 0.1.0, even though traitobject 0.1.1 resolves the issues. |
cc @rust-lang/lang We've had a future incompatibility warning for years for code like trait Trait {}
impl Trait for dyn Send + Sync {}
impl Trait for dyn Sync + Send {} We already hard error if the trait has methods, but due to some widespread breakage, we decided not to make it a hard error. All (yes all) of the breakage is due to crates depending (mostly transitively) on the There are only 10 crates on crates.io that break from this PR, and all of them also were due to lockfiles. All but
haven't seen updates in 4 years and are usually depending on an old version of hyper that still had We should turn this FCW into a hard error and thus be able to rip out all the code that was necessary to maintain it @rfcbot merge |
Team member @oli-obk 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! See this document for info about what commands tagged team members can give me. |
r? types |
fixes #56484
r? @ghost
will FCP when we have a crater result