]> 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 fe12b7c1585681f23a182737ec57a6f373976723..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
       }