mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
9 lines
286 B
Rust
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 { }
|