rust/src/test/ui/syntax-trait-polarity-featu...

11 lines
136 B
Rust

use std::marker::Send;
struct TestType;
trait TestTrait {}
impl !Send for TestType {}
//~^ ERROR negative trait bounds
fn main() {}