Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix the build for NLL #21356
Fix the build for NLL #21356
Conversation
highfive
commented
Aug 7, 2018
|
Heads up! This PR modifies the following files:
|
highfive
commented
Aug 7, 2018
|
Looks good :) |
| 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); |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
SimonSapin
Aug 8, 2018
Author
Member
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.
| @@ -531,7 +531,7 @@ impl Flow for TableFlow { | |||
| self.block_flow.build_display_list_for_block(state, border_painting_mode); | |||
|
|
|||
| let iter = TableCellStyleIterator::new(&self); | |||
| for mut style in iter { | |||
| for style in iter { | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
SimonSapin
Aug 8, 2018
Author
Member
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 -->
|
|
|
This should be landable now. r? @emilio (or anyone) |
|
@bors-servo r+ |
|
|
|
@bors-servo retry |
|
@bors-servo force r+ |
|
|
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 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 |
|
|
|
Transplanted upstreamable changes to existing PR. Completed upstream sync of web-platform-test changes at jdm/web-platform-tests#78. |
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 -->
|
|
|
Error syncing changes upstream. Logs saved in error-snapshot-1535130643349. |
*Sigh* rust-lang/getopts#53 (comment) Upstreamed from servo/servo#21356 [ci skip]
*Sigh* rust-lang/getopts#53 (comment) Upstreamed from servo/servo#21356 [ci skip]
SimonSapin commentedAug 7, 2018
•
edited
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