Uh oh!
There was an error while loading. Please reload this page.
Merge BorrowKind::Unique into BorrowKind::Mut - #112119
Conversation
rustbot
commented
May 30, 2023
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt This PR changes MIR cc @oli-obk, @RalfJung, @JakobDegen, @davidtwco, @celinval, @vakaras Some changes might have occurred in exhaustiveness checking cc @Nadrieril |
zirconium-n
left a comment
There was a problem hiding this comment.
I commented on places I'm not sure.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
0ec3a2d to
c12feb5Compare
lcnr
left a comment
There was a problem hiding this comment.
quickly skimmed it but need to take some time to think about the places where Unique currently differs from Mut, will only get to that next week probably
Uh oh!
There was an error while loading. Please reload this page.
zirconium-n
commented
May 31, 2023
From my intuition, So here's some personal observation:
|
lcnr
left a comment
There was a problem hiding this comment.
I am not sure whether specialcasing ClosureCapture borrows this much in compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs is necessary or even particularily helpful, but 🤷
after dealing with the comments, r=me
thank you for working on this ❤️
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lcnr
commented
Jun 6, 2023
we should also run crater after the remaining changes as I expect the unsafeck and const checks to be theoretically breaking. Don't have the capacity to try and get an actual test for that though |
e34c364 to
ed3d78fComparezirconium-n
commented
Jun 7, 2023
@rustbot label -S-waiting-on-author +S-waiting-on-review
Const checks should be ok, since we forbid |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lcnr
commented
Jun 8, 2023
@bors try |
bors
commented
Jun 8, 2023
⌛ Trying commit 9ce76438c3537c38c0614036add7cbe790cbdfd7 with merge d43518feaed04ed9d50bf2337350de8304ca58cf... |
9ce7643 to
d93e93bComparelcnr
commented
Jun 15, 2023
@bors try |
bors
commented
Jun 15, 2023
⌛ Trying commit d93e93b3c821de824a888eae65a05f9687ad940c with merge ca6d8d30c65b4fcf60d8a40774045a936ec3c78d... |
bors
commented
Jun 15, 2023
☀️ Try build successful - checks-actions |
lcnr
commented
Jun 16, 2023
@craterbot check |
craterbot
commented
Jun 16, 2023
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
craterbot
commented
Jun 18, 2023
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
craterbot
commented
Jun 19, 2023
🎉 Experiment
|
lcnr
commented
Jun 20, 2023
looked at a bunch and they all looked spurious, didn't get a nice testcase for them r=me after rebase |
d93e93b to
b8a250fComparelcnr
commented
Jun 20, 2023
@bors r+ rollup=never |
bors
commented
Jun 20, 2023
bors
commented
Jun 21, 2023
bors
commented
Jun 21, 2023
☀️ Test successful - checks-actions |
rust-timer
commented
Jun 21, 2023
Finished benchmarking commit (c55d1ee): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 657.959s -> 655.662s (-0.35%) |
Fixes#112072
Might have conflict with #112070
r? @lcnr
I'm not sure what's the suitable change in a couple places.