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

#[derive(PartialEq)]
struct Error;

#[derive(PartialOrd,PartialEq)]
enum Enum {
   A(
     Error //~ ERROR can't compare `Error` with `Error`
     )
}

fn main() {}