opera 1.0.1

Marker types that are easy to understand
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use opera::PhantomNotSend;

pub fn assert_send<T: Send>() {

}

struct X {
    marker: PhantomNotSend,
}

fn main() {
    assert_send::<X>();
}