]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast_passes/src/feature_gate.rs
Change the message for `if_let_guard` feature gate
[rust.git] / compiler / rustc_ast_passes / src / feature_gate.rs
index 9d54d89e080f59c3f081f7914f33db8bf3e4ae42..bb222675239aa82c524bdcc8a3410f5287846645 100644 (file)
@@ -620,7 +620,7 @@ macro_rules! gate_all {
             }
         };
     }
-    gate_all!(if_let_guard, "`if let` guard is not implemented");
+    gate_all!(if_let_guard, "`if let` guards are experimental");
     gate_all!(let_chains, "`let` expressions in this position are experimental");
     gate_all!(async_closure, "async closures are unstable");
     gate_all!(generators, "yield syntax is experimental");