Sign in
◑
Theme
rust
/
rust
/
44ee391300a7cc4623410145e4aca511cd2bd00e
/
.
/
tests
/
ui
/
traits
/
negative-impls
/
positive-specializes-negative.rs
blob: a06b357654068b2604fca2540ff841b3a7e38f74 [
file
]
#![
feature
(
specialization
)]
//~ WARN the feature `specialization` is incomplete
#![
feature
(
negative_impls
)]
trait
MyTrait
{}
impl
<
T
>
!
MyTrait
for
T
{}
impl
MyTrait
for
u32
{}
//~ ERROR E0751
fn
main
()
{}