Place 2.0 change from enum to struct#60913
Conversation
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
☔ The latest upstream changes (presumably #60969) made this pull request unmergeable. Please resolve the merge conflicts. |
c011eb9 to
b75e1ed
Compare
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
☔ The latest upstream changes (presumably #60984) made this pull request unmergeable. Please resolve the merge conflicts. |
d6ce5bf to
6f6f5a7
Compare
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
☔ The latest upstream changes (presumably #61510) made this pull request unmergeable. Please resolve the merge conflicts. |
|
I've just added some commits that are right now PRs waiting on bors and rebased this work on top of them, because this work need those. Once they are merged I'm going to rebase this PR on top of master again. Anyway, the important bit here is the WIP commit |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
☔ The latest upstream changes (presumably #61601) made this pull request unmergeable. Please resolve the merge conflicts. |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
☔ The latest upstream changes (presumably #61209) made this pull request unmergeable. Please resolve the merge conflicts. |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
☔ The latest upstream changes (presumably #61622) made this pull request unmergeable. Please resolve the merge conflicts. |
2c82f6d to
82b6f73
Compare
|
@bors try |
Place 2.0 change from enum to struct r? @oli-obk
|
@rust-timer build 0c7cf8c |
|
Success: Queued 0c7cf8c with parent f69b071, comparison URL. |
| iterate_over2(place_base, place_projection, &Projections::Empty, op) | ||
| } | ||
|
|
||
| pub fn as_place_ref(&self) -> PlaceRef<'_, 'tcx> { |
There was a problem hiding this comment.
if it is deemed too wordy, I'm also fine with using as_ref. We can't use the AsRef trait though as that produces a reference
|
☀️ Try build successful - checks-azure |
|
Finished benchmarking try commit 0c7cf8c, comparison URL. |
|
@bors r+ let's get this party (finally) started |
|
📌 Commit a8ceeeb has been approved by |
|
@bors p=42 bitrotty |
|
⌛ Testing commit a8ceeeb with merge 0dc2c40107950a79e92a79de33f1a4350bf80758... |
|
@bors rollup=never |
Place 2.0 change from enum to struct r? @oli-obk
|
☀️ Test successful - checks-azure |
| )] | ||
| pub struct Projection<'tcx> { | ||
| pub base: Place<'tcx>, | ||
| pub base: Option<Box<Projection<'tcx>>>, |
There was a problem hiding this comment.
It is somewhat confusing to have base sometimes be a Projection and sometimes a PlaceBase.
There was a problem hiding this comment.
Yes it is, but the entire Projection type will be gone soon, so I deemed it irrelevant
Changes: ```` Fix breakage due to rust-lang#60913 Fix breakage due to rust-lang#62705 rustup rust-lang#62679 Update pulldown-cmark to 0.5.3 rustup rust-lang#62764 Format code Decrease maximum length for stderr files Improved imports Fix "unkown clippy lint" error in UI test. Corrections for PR review. Implement lint for inherent to_string() method. UI Test Cleanup: Extract match_ref_pats tests Update UI tests Allow no_effect lint Remove comment cargo fmt UI Test Cleanup: Split up checked_unwrap tests Removed lintining on never type. UI Test Cleanup: Split out out_of_bounds_indexing false positives fixes of `implicit_return` ````
r? @oli-obk