]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/regions-infer-contravariance-due-to-ret.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / regions-infer-contravariance-due-to-ret.rs
index f07105cebed0b49115f182f6d9242dfa1b5a8654..7e328f3bb0354ce453f80f52b913e0dfdb26acf1 100644 (file)
@@ -8,8 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-struct boxed_int<'self> {
-    f: &'self int,
+struct boxed_int<'a> {
+    f: &'a int,
 }
 
 fn max<'r>(bi: &'r boxed_int, f: &'r int) -> int {