mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-14 12:43:32 +00:00
14 lines
197 B
Rust
14 lines
197 B
Rust
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>();
|
|
}
|