rust/src/test/ui/syntax-trait-polarity-feature-gate.rs
2018-12-25 21:08:33 -07:00

11 lines
136 B
Rust

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