]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-negative-impls-safe.rs
Auto merge of #103591 - lqd:win-lto, r=Mark-Simulacrum
[rust.git] / src / test / ui / coherence / coherence-negative-impls-safe.rs
1 #![feature(negative_impls)]
2
3 use std::marker::Send;
4
5 struct TestType;
6
7 unsafe impl !Send for TestType {}
8 //~^ ERROR E0198
9
10 fn main() {}