summaryrefslogtreecommitdiffstats
path: root/tests/ui/derives/derives-span-Ord-struct.rs
blob: 53d4c2c22b55f146a7addacb2a74f1d6670cf628 (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(Eq,PartialOrd,PartialEq)]
struct Error;

#[derive(Ord,Eq,PartialOrd,PartialEq)]
struct Struct {
    x: Error //~ ERROR
}

fn main() {}