blob: 2d50bc83ec304f2a1847298744ca511f5f462bf3 [file] [edit]
#![feature(negative_impls)]
#![feature(specialization)]
trait MyTrait {
type Foo;
}
default impl !MyTrait for u32 {} //~ ERROR negative impls cannot be default impls
fn main() {}