]> git.lizzy.rs Git - rust.git/blob - src/test/ui/syntax-trait-polarity-feature-gate.rs
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / syntax-trait-polarity-feature-gate.rs
1 use std::marker::Send;
2
3 struct TestType;
4
5 trait TestTrait {}
6
7 impl !Send for TestType {}
8 //~^ ERROR negative trait bounds
9
10 fn main() {}