2020-01-09 04:56:38 -06:00
|
|
|
#![feature(negative_impls)]
|
2020-01-08 05:39:38 -06:00
|
|
|
#![feature(specialization)]
|
2020-05-17 03:22:48 -05:00
|
|
|
//~^ WARN the feature `specialization` is incomplete
|
2020-01-08 05:39:38 -06:00
|
|
|
|
|
|
|
trait MyTrait {
|
|
|
|
type Foo;
|
|
|
|
}
|
|
|
|
|
|
|
|
default impl !MyTrait for u32 {} //~ ERROR negative impls cannot be default impls
|
|
|
|
|
|
|
|
fn main() {}
|