rust/tests/ui/issues/issue-32292.rs

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

10 lines
145 B
Rust
Raw Normal View History

//@ run-pass
#![deny(warnings)]
#[derive(Hash, Ord, PartialOrd, Eq, PartialEq, Debug, Clone, Copy)]
struct Foo;
fn main() {
let _ = Foo;
}