rust/tests/ui/macros/builtin-std-paths.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
538 B
Rust
Raw Normal View History

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