Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
traits
/
negative-impls
/
positive-specializes-negative.rs
blob: a06b357654068b2604fca2540ff841b3a7e38f74 [
file
] [
log
] [
blame
]
#![
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
()
{}