blob: 0c9326dad6360d3bd76073ef57d747c1aed3d8c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use anyhow::Error;
#[test]
fn test_send() {
fn assert_send<T: Send>() {}
assert_send::<Error>();
}
#[test]
fn test_sync() {
fn assert_sync<T: Sync>() {}
assert_sync::<Error>();
}
|