rust/tests/ui/builtin-superkinds/auxiliary/trait_superkinds_in_metadata.rs
2023-01-11 09:32:08 +00:00

9 lines
286 B
Rust

// Test library crate for cross-crate usages of traits inheriting
// from the builtin kinds. Mostly tests metadata correctness.
#![crate_type="lib"]
pub trait RequiresShare : Sync { }
pub trait RequiresRequiresShareAndSend : RequiresShare + Send { }
pub trait RequiresCopy : Copy { }