mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
33 lines
538 B
Rust
33 lines
538 B
Rust
|
// check-pass
|
||
|
|
||
|
#[derive(
|
||
|
core::clone::Clone,
|
||
|
core::marker::Copy,
|
||
|
core::fmt::Debug,
|
||
|
core::default::Default,
|
||
|
core::cmp::Eq,
|
||
|
core::hash::Hash,
|
||
|
core::cmp::Ord,
|
||
|
core::cmp::PartialEq,
|
||
|
core::cmp::PartialOrd,
|
||
|
)]
|
||
|
struct Core;
|
||
|
|
||
|
#[derive(
|
||
|
std::clone::Clone,
|
||
|
std::marker::Copy,
|
||
|
std::fmt::Debug,
|
||
|
std::default::Default,
|
||
|
std::cmp::Eq,
|
||
|
std::hash::Hash,
|
||
|
std::cmp::Ord,
|
||
|
std::cmp::PartialEq,
|
||
|
std::cmp::PartialOrd,
|
||
|
)]
|
||
|
struct Std;
|
||
|
|
||
|
fn main() {
|
||
|
core::column!();
|
||
|
std::column!();
|
||
|
}
|