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