use PlaceRef abstractions more consistently#82091
Conversation
|
@rustbot label: +C-cleanup +A-mir +T-compiler |
This comment has been minimized.
This comment has been minimized.
|
@RalfJung Update:
|
|
@rustbot label: +S-waiting-on-author -S-waiting-on-review |
option<PlaceRef<'tcx>> to clean up mir code a little9c575bf to
2261066
Compare
|
@RalfJung Nearly finished but I still have some errors and don't know how to resolve them. The current code is pushed, as you can see. Here are the errors: I'm not really sure why they are happening or how to fix them. Help would be appreciated! |
This comment has been minimized.
This comment has been minimized.
|
@henryboisdequin thanks! I'll take a look, but I can't promise I'll do that before next weekend. In the mean time, you could also ask on the Rust Zulip; there might be people there that can help you. |
2261066 to
eace240
Compare
|
Oops: #80647 (comment) |
|
@rustbot label -S-waiting-on-author +S-waiting-on-review |
0573d2d to
606752c
Compare
606752c to
30c5125
Compare
|
@RalfJung |
6d846a5 to
a9c6188
Compare
|
Awesome, thanks a lot. :) |
|
@bors r+ |
|
📌 Commit a9c6188 has been approved by |
… r=RalfJung use PlaceRef abstractions more consistently Addresses this [comment](https://github.com/rust-lang/rust/pull/80865/files#r558978715) Associated issue: rust-lang#80647 r? `@RalfJung`
… r=RalfJung use PlaceRef abstractions more consistently Addresses this [comment](https://github.com/rust-lang/rust/pull/80865/files#r558978715) Associated issue: rust-lang#80647 r? ``@RalfJung``
Should this PR close that issue, or no? |
Rollup of 12 pull requests Successful merges: - rust-lang#79423 (Enable smart punctuation) - rust-lang#81154 (Improve design of `assert_len`) - rust-lang#81235 (Improve suggestion for tuple struct pattern matching errors.) - rust-lang#81769 (Suggest `return`ing tail expressions that match return type) - rust-lang#81837 (Slight perf improvement on char::to_ascii_lowercase) - rust-lang#81969 (Avoid `cfg_if` in `std::os`) - rust-lang#81984 (Make WASI's `hard_link` behavior match other platforms.) - rust-lang#82091 (use PlaceRef abstractions more consistently) - rust-lang#82128 (add diagnostic items for OsString/PathBuf/Owned as well as to_vec on slice) - rust-lang#82166 (add s390x-unknown-linux-musl target) - rust-lang#82234 (Remove query parameters when skipping search results) - rust-lang#82255 (Make `treat_err_as_bug` Option<NonZeroUsize>) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
|
No it should not close the issue, there's still more cleanup left to be done. |
Addresses this comment
Associated issue: #80647
r? @RalfJung