rust/tests/ui/derives/derives-span-PartialOrd-enum.rs

14 lines
246 B
Rust
Raw Normal View History

// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]
struct Error;
#[derive(PartialOrd,PartialEq)]
enum Enum {
A(
2020-01-08 11:02:10 -06:00
Error //~ ERROR can't compare `Error` with `Error`
)
}
fn main() {}