Uh oh!
There was an error while loading. Please reload this page.
Don't reduce E0161 to a warning in NLL migrate mode - #53575
Conversation
rust-highfive
commented
Aug 21, 2018
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
bors
commented
Aug 22, 2018
☔ The latest upstream changes (presumably #53581) made this pull request unmergeable. Please resolve the merge conflicts. |
* Sized checking in MIR should be a hard error in all borrowck modes * box operands should be an error even with unsized locals
Update another test that broke due to E0161 no longer being buffered
ec4ec3b to
cd92da8Compareemilyalbini
commented
Aug 27, 2018
Ping from triage @pnkfelix! This PR needs your review. |
TimNN
commented
Sep 4, 2018
Ping from triage @pnkfelix / @rust-lang/compiler: This PR requires your review. |
estebank
commented
Sep 5, 2018
@bors r+ |
bors
commented
Sep 5, 2018
📌 Commit cd92da8 has been approved by |
bors
commented
Sep 5, 2018
⌛ Testing commit cd92da8 with merge dd89cb727553577e9917c27788ce8d907c49be40... |
bors
commented
Sep 5, 2018
💔 Test failed - status-appveyor |
matthewjasper
commented
Sep 6, 2018
@bors: r=estebank |
bors
commented
Sep 6, 2018
@matthewjasper: 🔑 Insufficient privileges: Not in reviewers |
estebank
commented
Sep 6, 2018
@bors retry |
bors
commented
Sep 6, 2018
Don't reduce E0161 to a warning in NLL migrate mode This error has been on stable for a while, and allowing such code cause the compile to later ICE (since we can't codegen it). Errors `box UNSIZED EXPR` with unsized locals because it's not compatible with the current evaluation order (create the box before evaluating the expressions). cc #53469 (fixes the ICE in this case) cc @qnighy
bors
commented
Sep 6, 2018
☀️ Test successful - status-appveyor, status-travis |
This error has been on stable for a while, and allowing such code cause the compile to later ICE (since we can't codegen it). Errors
box UNSIZED EXPRwith unsized locals because it's not compatible with the current evaluation order (create the box before evaluating the expressions).cc #53469 (fixes the ICE in this case)
cc @qnighy