]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/borrowck-pat-reassign-no-binding.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / borrowck-pat-reassign-no-binding.rs
index 4ccbf6b5b0fedfb65a0a91ca3dc823a732917b90..6136bc90fd42c942b7b3e1f46bcab6bffd055d6b 100644 (file)
@@ -14,7 +14,7 @@ pub fn main() {
       None => {
         // It is ok to reassign x here, because there is in
         // fact no outstanding loan of x!
-        x = Some(0);
+        x = Some(0i);
       }
       Some(_) => { }
     }