about summary refs log tree commit diff
path: root/src/libsyntax_pos
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-11-12 18:02:54 +0000
committerbors <bors@rust-lang.org>2019-11-12 18:02:54 +0000
commit4f03f4a989d1c8346c19dfb417a77c09b34408b8 (patch)
tree4481536e10d2e646822cb89f6c20b71c981129ae /src/libsyntax_pos
parent5dda3ee9314cfee9c4e30a7b17dcd5ebdec081a7 (diff)
parent4bf0685cca167e684340152809be20a16ad65a76 (diff)
downloadrust-4f03f4a989d1c8346c19dfb417a77c09b34408b8.tar.gz
rust-4f03f4a989d1c8346c19dfb417a77c09b34408b8.zip
Auto merge of #65608 - matthewjasper:mir-eval-order, r=pnkfelix
Fix MIR lowering evaluation order and soundness bug

* Fixes a soundness issue with built-in index operations
* Ensures correct evaluation order of assignment expressions where the RHS is a FRU or is a use of a local of reference type.
* Removes an unnecessary symbol to string conversion

closes #65909
closes #65910
Diffstat (limited to 'src/libsyntax_pos')
-rw-r--r--src/libsyntax_pos/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs
index c41f413970f..b3e9576f43f 100644
--- a/src/libsyntax_pos/symbol.rs
+++ b/src/libsyntax_pos/symbol.rs
@@ -432,6 +432,7 @@ symbols! {
         module,
         module_path,
         more_struct_aliases,
+        move_val_init,
         movbe_target_feature,
         must_use,
         naked,