mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
14 lines
234 B
Rust
14 lines
234 B
Rust
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
|
|
|
|
#[derive(Eq,PartialOrd,PartialEq)]
|
|
struct Error;
|
|
|
|
#[derive(Ord,Eq,PartialOrd,PartialEq)]
|
|
enum Enum {
|
|
A {
|
|
x: Error //~ ERROR
|
|
}
|
|
}
|
|
|
|
fn main() {}
|