summaryrefslogtreecommitdiffstats
path: root/tests/ui/derives/derives-span-PartialOrd-tuple-struct.rs
blob: 61d5076708800b7973b42eb4ee64abc0739f7184 (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(
    Error //~ ERROR can't compare `Error` with `Error`
);

fn main() {}