about summary refs log tree commit diff
path: root/src/librustc_span
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-02-09 04:01:28 +0000
committerbors <bors@rust-lang.org>2020-02-09 04:01:28 +0000
commitf8d830b4decaef5a6ae0f27baac14dfb48baa4c5 (patch)
treea5e7a6a7f68e12dbd174c1313b4d0ab0e742dbdc /src/librustc_span
parenta19edd6b161521a4f66716b3b45b8cf4d3f03f3a (diff)
parentd2b88b7050b0e21b136022c4cfe8d352c1425588 (diff)
downloadrust-f8d830b4decaef5a6ae0f27baac14dfb48baa4c5.tar.gz
rust-f8d830b4decaef5a6ae0f27baac14dfb48baa4c5.zip
Auto merge of #68376 - Centril:move-ref-patterns, r=matthewjasper
Initial implementation of `#![feature(move_ref_pattern)]`

Following up on #45600, under the gate `#![feature(move_ref_pattern)]`, `(ref x, mut y)` is allowed subject to restrictions necessary for soundness. The match checking implementation and tests for `#![feature(bindings_after_at)]` is also adjusted as necessary.

Closes #45600.
Tracking issue: #68354.

r? @matthewjasper
Diffstat (limited to 'src/librustc_span')
-rw-r--r--src/librustc_span/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_span/symbol.rs b/src/librustc_span/symbol.rs
index 931a3c15cf0..49582e064ea 100644
--- a/src/librustc_span/symbol.rs
+++ b/src/librustc_span/symbol.rs
@@ -457,6 +457,7 @@ symbols! {
         module,
         module_path,
         more_struct_aliases,
+        move_ref_pattern,
         move_val_init,
         movbe_target_feature,
         mul_with_overflow,