]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/bind-by-move/bind-by-move-no-guards.stderr
normalize use of backticks/lowercase in compiler messages for librustc_mir
[rust.git] / src / test / ui / bind-by-move / bind-by-move-no-guards.stderr
index 2af2b0d660efa3cf1882e4ae5d56934406a70c12..c5f0256c2c92f5b10ce791bbe912f45ad2b3a5d3 100644 (file)
@@ -3,6 +3,8 @@ error[E0008]: cannot bind by-move into a pattern guard
    |
 LL |         Some(z) if z.recv().unwrap() => { panic!() },
    |              ^ moves value into pattern guard
+   |
+   = help: add `#![feature(bind_by_move_pattern_guards)]` to the crate attributes to enable
 
 error: aborting due to previous error