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

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

14 lines
248 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
x: Error //~ ERROR can't compare `Error` with `Error`
}
}
fn main() {}