chromium/third_party/rust/chromium_crates_io/vendor/anyhow-1.0.86/tests/test_autotrait.rs

#![allow(clippy::extra_unused_type_parameters)]

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