split try trait in twain - #154715
split try trait in twain#154715bend-n wants to merge 3 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
709df2d to
cb71243
Compare
This comment has been minimized.
This comment has been minimized.
|
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri, @RalfJung, @oli-obk, @lcnr Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
|
r? @jhpratt rustbot has assigned @jhpratt. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@rustbot reroll |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@rustbot reroll |
368771f to
d217c9a
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@bors try |
This comment has been minimized.
This comment has been minimized.
split try trait in twain
|
@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
Footnotes
|
|
☔ The latest upstream changes made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
|
judging from the crater run it doesnt seem there are any inference issues as was a concern in https://hackmd.io/@rust-libs/r1kfcnMQfe?stext=6977%3A100%3A0%3A1787669624%3AJrkFjm |
|
See my comment here - #147160 (comment) - I'm going to go ahead and close this but feel free to reach out on Zulip to coordinate next steps if you're still interested. |
|
Yeah, I read the minutes and thought about it, but I dont think i have the try-knowledge to write a whole new ACP on it unfortunately. |
View all comments
https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/on.20.60Try.60.20for.20.60.26Option.60/with/582974682
currently
Tryfor&Optionis impossible, because from_output would need to return &Option from &Self::Output. but i think there should be some way to doOption::as_refin a generic setting, and i think this is a good cause to split the traits up a bit, like so:which then allows (this is not implemented in this PR.)
which then allows
which then allows
which i think is a great boon to
Try.