summaryrefslogtreecommitdiffstats
path: root/src/test/ui/derives/derives-span-PartialOrd-struct.rs
blob: da857c6743575e4b876b0d2c5efab8be1032e765 (plain)
1
2
3
4
5
6
7
8
9
10
11
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

#[derive(PartialEq)]
struct Error;

#[derive(PartialOrd,PartialEq)]
struct Struct {
    x: Error //~ ERROR can't compare `Error` with `Error`
}

fn main() {}