]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/match-naked-record.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / match-naked-record.rs
index 4d89fdc69104e3ea0859106f0822e27c6480dddb..21c31b621835e37275d2eafb54da8bc183d05ea4 100644 (file)
@@ -11,7 +11,7 @@
 struct X { x: int }
 
 pub fn main() {
-    let x = match 0 {
+    let _x = match 0i {
       _ => X {
         x: 0
       }