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() {}