summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/augmented-assignments-trait.rs
blob: 747a5393f125734ae22b6ad4f1a826a3b8cb24fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
use std::ops::AddAssign;

struct Int(#[allow(unused_tuple_struct_fields)] i32);

impl AddAssign for Int {
    fn add_assign(&mut self, _: Int) {
        unimplemented!()
    }
}

fn main() {}