]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0008.stderr
normalize use of backticks/lowercase in compiler messages for librustc_mir
[rust.git] / src / test / ui / error-codes / E0008.stderr
index e9af3166ed5eac061a138a3c385d1cbecdab08b2..6b45439c4b5877ceadbc7c9cdb715da89ad50241 100644 (file)
@@ -1,8 +1,10 @@
 error[E0008]: cannot bind by-move into a pattern guard
-  --> $DIR/E0008.rs:13:14
+  --> $DIR/E0008.rs:3:14
    |
 LL |         Some(s) if s.len() == 0 => {},
    |              ^ 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