summary refs log tree commit diff
path: root/src/test/ui/coherence/coherence-negative-impls-safe.rs
blob: 45c478ecc03627d45aca3915cd0817a54c12ece2 (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(optin_builtin_traits)]

use std::marker::Send;

struct TestType;

unsafe impl !Send for TestType {}
//~^ ERROR E0198

fn main() {}