Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
13
third-party/vendor/eyre/tests/test_autotrait.rs
vendored
Normal file
13
third-party/vendor/eyre/tests/test_autotrait.rs
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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>();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue