Repository navigation
Fix the build for NLL - #21356
Fix the build for NLL#21356
Conversation
|
Heads up! This PR modifies the following files:
|
| let inline_size = self.column_computed_inline_sizes[index].size.0; | ||
| self.column_computed_inline_sizes[index].size += | ||
| remaining_inline_size.scale_by( | ||
| self.column_computed_inline_sizes[index].size.0 as f32 / total_minimum_size); |
There was a problem hiding this comment.
This looks a bit like a regression doesn't it?
There was a problem hiding this comment.
This is possibly rust-lang/rust#47349, which I'm working on.
There was a problem hiding this comment.
Per rust-lang/rust#47349 (comment) the new borrowck behavior is considered correct. That issue is only still open in order to improve the error message.
|
|
||
| let iter = TableCellStyleIterator::new(&self); | ||
| for mut style in iter { | ||
| for style in iter { |
There was a problem hiding this comment.
Just curious, are these just to avoid warnings?
There was a problem hiding this comment.
Yes, I suppose that they were false negatives for the warning under AST-borrowck.
|
Oops I accidentally pushed this to master :/ Thanks @jdm for taking care of reverting. Don’t we have github settings to prevent this from happening, though? |
|
Per #21358 it looks like unrelated changes in @bors-servo try |
Fix the build for NLL Test with `RUSTFLAGS="-Zborrowck=mir -Ztwo-phase-borrows" cargo build` https://internals.rust-lang.org/t/help-us-get-non-lexical-lifetimes-nll-over-the-finish-line/7807/7 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21356) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel-wpt |
|
This should be landable now. r? @emilio (or anyone) |
|
@bors-servo r+ |
|
📌 Commit ff77763 has been approved by |
|
@bors-servo retry |
|
@bors-servo force r+ |
|
I’ve backported the NLL fix in the There is now the Still, the rest of this PR can be landed without waiting for that. @bors-servo r=jdm (Carrying previous r+ since the PR is now a subset of the changes since the previous review.) |
|
📌 Commit 6539b18 has been approved by |
|
💔 Test failed - android-x86 |
|
Same as before: So my assumption that this was due to changes in the URL crate (perhaps in the webdriver server implementation) was not correct. This issue will need more investigation. (getopts might be another lead to follow.) |
|
@SimonSapin According to my try pushes in #21501 it is definitely getopts' fault. |
|
Opened new PR for upstreamable changes. Completed upstream sync of web-platform-test changes at jdm/web-platform-tests#78. |
|
Sigh. Added |
|
@bors-servo r+ |
|
📌 Commit 5d40886 has been approved by |
|
💔 Test failed - linux-dev |
Test with `RUSTFLAGS="-Zborrowck=mir -Ztwo-phase-borrows" cargo build` https://internals.rust-lang.org/t/help-us-get-non-lexical-lifetimes-nll-over-the-finish-line/7807/7
|
WPT manifest updated. @bors-servo r=jdm |
|
📌 Commit 1333b6e has been approved by |
|
Transplanted upstreamable changes to existing PR. Completed upstream sync of web-platform-test changes at jdm/web-platform-tests#78. |
|
☀️ Test successful - android, android-x86, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
|
Error syncing changes upstream. Logs saved in error-snapshot-1535130643349. |
Test with
RUSTFLAGS="-Zborrowck=mir -Ztwo-phase-borrows" cargo buildhttps://internals.rust-lang.org/t/help-us-get-non-lexical-lifetimes-nll-over-the-finish-line/7807/7
This change is