3 impl std::ops::AddAssign for () {
4 //~^ ERROR only traits defined in the current crate can be implemented for arbitrary types
5 fn add_assign(&self, other: ()) -> () {
10 impl std::ops::AddAssign for [(); 1] {
11 //~^ ERROR only traits defined in the current crate can be implemented for arbitrary types
12 fn add_assign(&self, other: [(); 1]) -> [(); 1] {
17 impl std::ops::AddAssign for &[u8] {
18 //~^ ERROR only traits defined in the current crate can be implemented for arbitrary types
19 fn add_assign(&self, other: &[u8]) -> &[u8] {