diff options
| author | Brandon Sanderson <singingboyo@gmail.com> | 2014-11-05 15:05:01 -0800 |
|---|---|---|
| committer | Brandon Sanderson <singingboyo@gmail.com> | 2014-11-06 10:42:40 -0800 |
| commit | d80a62d84bc9fbc9ae7c8bd300bf5416249b51f7 (patch) | |
| tree | aa89a6df3261fd315f2667f4dc794f38bbbccfd7 /src/rustllvm/RustWrapper.cpp | |
| parent | 60a669a1743b845dfa349684ef057bc98ec6d840 (diff) | |
| download | rust-d80a62d84bc9fbc9ae7c8bd300bf5416249b51f7.tar.gz rust-d80a62d84bc9fbc9ae7c8bd300bf5416249b51f7.zip | |
Fix soundness hole in struct with expressions.
Fixes #18567. Struct{x:foo, .. with_expr} did not walk with_expr, which allowed
using moved variables in some cases. The CFG for structs also built up with
with_expr happening before the fields, which is now reversed. (Fields are now
before the with_expr in the CFG)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
