blob: 877c3e8af4f1ae617215c78e0ecf88b1e2e0136f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![feature(specialization)]
#![feature(negative_impls)]
// Test a negative impl that "specializes" another negative impl.
//
// run-pass
trait MyTrait {}
impl<T> !MyTrait for T {}
impl !MyTrait for u32 {}
fn main() {}
|