]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-negative-impls-safe.rs
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[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() {}