]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rfc-2294-if-let-guard/feature-gate.stderr
Change the message for `if_let_guard` feature gate
[rust.git] / src / test / ui / rfc-2294-if-let-guard / feature-gate.stderr
index 1670078e0d38b6f9ce64f03ba003c7c6096893a4..113870c19f5d5a95fbfd79961763eae6e4b0b61b 100644 (file)
@@ -7,7 +7,7 @@ LL |     macro_rules! use_expr {
 LL |     use_expr!(let 0 = 1);
    |               ^^^ no rules expected this token in macro call
 
-error[E0658]: `if let` guard is not implemented
+error[E0658]: `if let` guards are experimental
   --> $DIR/feature-gate.rs:7:12
    |
 LL |         () if let 0 = 1 => {}
@@ -16,7 +16,7 @@ LL |         () if let 0 = 1 => {}
    = note: see issue #51114 <https://github.com/rust-lang/rust/issues/51114> for more information
    = help: add `#![feature(if_let_guard)]` to the crate attributes to enable
 
-error[E0658]: `if let` guard is not implemented
+error[E0658]: `if let` guards are experimental
   --> $DIR/feature-gate.rs:76:12
    |
 LL |         () if let 0 = 1 => {}