1 #![feature(const_trait_impl)]
5 impl const std::ops::Add for i32 {
6 //~^ ERROR conflicting implementations of trait
7 //~| ERROR only traits defined in the current crate can be implemented for arbitrary types
10 fn add(self, rhs: Self) -> Self {
15 impl std::ops::Add for Int {
18 fn add(self, rhs: Self) -> Self {
23 impl const std::ops::Add for Int {
24 //~^ ERROR conflicting implementations of trait
27 fn add(self, rhs: Self) -> Self {