about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-06 21:02:35 +0000
committerbors <bors@rust-lang.org>2018-09-06 21:02:35 +0000
commita8c11d216b04abe21a03220b344f1415e1d6ebd1 (patch)
tree8e9f326aa34ea068648d2b93528b9ef1afee31e8 /src/rustllvm/RustWrapper.cpp
parentc3186914071b71af2c771ec0c0d044a1a8c215c2 (diff)
parentcd92da833fcb8818ac679be615c7bfe02edaa235 (diff)
downloadrust-a8c11d216b04abe21a03220b344f1415e1d6ebd1.tar.gz
rust-a8c11d216b04abe21a03220b344f1415e1d6ebd1.zip
Auto merge of #53575 - matthewjasper:unsized-is-an-error, r=estebank
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions