fix up unused wrappingn_add in compile-pass test

This commit is contained in:
Ashley Mannix 2019-04-11 07:22:05 +10:00
parent 53d2473ec9
commit 23154db837

View File

@ -12,7 +12,7 @@ fn expect_free_supply_free<'x>(x: &'x u32) {
x.push(22_u32);
// ...since we now know the type of `y` and can resolve the method call.
y.wrapping_add(1);
let _ = y.wrapping_add(1);
});
}