oden/third-party/vendor/eyre/tests/test_autotrait.rs
2024-03-08 11:03:01 -08:00

13 lines
198 B
Rust

use eyre::Report;
#[test]
fn test_send() {
fn assert_send<T: Send>() {}
assert_send::<Report>();
}
#[test]
fn test_sync() {
fn assert_sync<T: Sync>() {}
assert_sync::<Report>();
}