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