]> git.lizzy.rs Git - rust.git/blob - src/test/ui/syntax-trait-polarity-feature-gate.rs
Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, r=Mark-Simulacrum
[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() {}