Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
traits
/
negative-impls
/
positive-specializes-negative.rs
blob: a06b357654068b2604fca2540ff841b3a7e38f74 [
file
] [
log
] [
blame
] [
edit
]
#![
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
()
{}