summaryrefslogtreecommitdiffstats
path: root/src/test/ui/auxiliary/augmented_assignments.rs
blob: d0d3f57459acc48dce0276795ba4da7b3759c8ca (plain)
1
2
3
4
5
6
7
8
use std::ops::AddAssign;

pub struct Int(pub i32);

impl AddAssign<i32> for Int {
    fn add_assign(&mut self, _: i32) {
    }
}