// 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 {
pub fn main() {
let g = 21;
let foo = boxed_int { f: &g };
- assert!(with(&foo) == 22);
+ assert_eq!(with(&foo), 22);
}