about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2019-01-26 17:25:37 +0000
committerMatthew Jasper <mjjasper1@gmail.com>2019-04-21 20:50:02 +0100
commitaa6fb6caf9d8456c70144ccba1e969c85926e229 (patch)
treef3462bb442058c39ce2e6960e36d3180acc98565 /src/libsyntax
parent31a75a172859d906d8e6a34af4afff9830af495c (diff)
downloadrust-aa6fb6caf9d8456c70144ccba1e969c85926e229.tar.gz
rust-aa6fb6caf9d8456c70144ccba1e969c85926e229.zip
Enable migrate mode by default on the 2015 edition
This also fully stabilizes two-phase borrows on all editions
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index bc87a88f9f1..ba567a123ae 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -445,9 +445,7 @@ declare_features! (
     (active, custom_inner_attributes, "1.30.0", Some(54726), None),
 
     // Allow mixing of bind-by-move in patterns and references to
-    // those identifiers in guards, *if* we are using MIR-borrowck
-    // (aka NLL). Essentially this means you need to be using the
-    // 2018 edition or later.
+    // those identifiers in guards.
     (active, bind_by_move_pattern_guards, "1.30.0", Some(15287), None),
 
     // Allows `impl Trait` in bindings (`let`, `const`, `static`).