-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Fix trait object reborrow suggestion #98277
Conversation
r? @estebank (rust-highfive has picked a reviewer for you, use r? to override) |
Also since I'm stashing the concrete type in the obligation cause, why not also note it: 448e00b |
@bors r+ |
📌 Commit 448e00b has been approved by |
…bank Fix trait object reborrow suggestion Fixes rust-lang#93596 Slightly generalizes the logic we use to suggest fix first implemented in rust-lang#95609, specifically when we have a `Sized` obligation that comes from a struct's unsized tail.
…bank Fix trait object reborrow suggestion Fixes rust-lang#93596 Slightly generalizes the logic we use to suggest fix first implemented in rust-lang#95609, specifically when we have a `Sized` obligation that comes from a struct's unsized tail.
@bors r- failed in rollup |
448e00b
to
25fe474
Compare
@bors r=estebank |
📌 Commit 25fe474 has been approved by |
…bank Fix trait object reborrow suggestion Fixes rust-lang#93596 Slightly generalizes the logic we use to suggest fix first implemented in rust-lang#95609, specifically when we have a `Sized` obligation that comes from a struct's unsized tail.
…bank Fix trait object reborrow suggestion Fixes rust-lang#93596 Slightly generalizes the logic we use to suggest fix first implemented in rust-lang#95609, specifically when we have a `Sized` obligation that comes from a struct's unsized tail.
…bank Fix trait object reborrow suggestion Fixes rust-lang#93596 Slightly generalizes the logic we use to suggest fix first implemented in rust-lang#95609, specifically when we have a `Sized` obligation that comes from a struct's unsized tail.
still failing https://github.com/rust-lang-ci/rust/runs/7053824682?check_suite_focus=true#step:25:20161 |
@matthiaskrgr, oh it's a windows test. Uh... do you know how one blesses a windows UI test without a windows machine? |
@compiler-errors given that it's a single test and only the wording of two notes... I would manually copy the output from CI. 😅 |
25fe474
to
862873d
Compare
@bors r=estebank |
📌 Commit 862873d has been approved by |
Rollup of 7 pull requests Successful merges: - rust-lang#97423 (Simplify memory ordering intrinsics) - rust-lang#97542 (Use typed indices in argument mismatch algorithm) - rust-lang#97786 (Account for `-Z simulate-remapped-rust-src-base` when resolving remapped paths) - rust-lang#98277 (Fix trait object reborrow suggestion) - rust-lang#98525 (Add regression test for rust-lang#79224) - rust-lang#98549 (interpret: do not prune requires_caller_location stack frames quite so early) - rust-lang#98603 (Some borrowck diagnostic fixes) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #93596
Slightly generalizes the logic we use to suggest fix first implemented in #95609, specifically when we have a
Sized
obligation that comes from a struct's unsized tail.