rust/tests/ui/auxiliary/augmented_assignments.rs
2023-01-11 09:32:08 +00:00

9 lines
129 B
Rust

use std::ops::AddAssign;
pub struct Int(pub i32);
impl AddAssign<i32> for Int {
fn add_assign(&mut self, _: i32) {
}
}