mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +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() {}
|