Sign in
fuchsia
/
third_party
/
rust
/
2c4bf249bd47f232de3c1e78ffe69b40c29bfcca
/
.
/
tests
/
ui
/
traits
/
overlap-not-permitted-for-builtin-trait.rs
blob: 4106f56d64ac6c36672083611abe0b04e72c7ed9 [
file
] [
log
] [
blame
]
#![
allow
(
dead_code
)]
#![
feature
(
negative_impls
)]
// Overlapping negative impls for `MyStruct` are not permitted:
struct
MyStruct
;
impl
!
Send
for
MyStruct
{}
impl
!
Send
for
MyStruct
{}
//~^ ERROR conflicting implementations of trait
fn
main
()
{}