]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/moves/moves-based-on-type-block-bad.rs
Update tests for changes to cannot move errors
[rust.git] / src / test / ui / moves / moves-based-on-type-block-bad.rs
index 516325ce1d797f33e6eb1a0069884f079c05b57b..085e249c0fb073d6bb180fcad3ab2eba648009d8 100644 (file)
@@ -20,7 +20,6 @@ fn main() {
     loop {
         f(&s, |hellothere| {
             match hellothere.x { //~ ERROR cannot move out
-                                 //~| cannot move out of borrowed content
                 box E::Foo(_) => {}
                 box E::Bar(x) => println!("{}", x.to_string()),
                 box E::Baz => {}