eyre/tests/test_autotrait.rs
Jane Lusby e3bf56ef5c
Rename ErrReport to Report (#9)
* Rename ErrReport to Report

* bump versions to prep for a release
2020-04-13 09:10:30 -07:00

14 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>();
}