summaryrefslogtreecommitdiffstats
path: root/src/test/ui/derives/derives-span-Ord-enum-struct-variant.rs
blob: 62355cc2d9619ded65202bbe8e81db2647f1cccc (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(Eq,PartialOrd,PartialEq)]
struct Error;

#[derive(Ord,Eq,PartialOrd,PartialEq)]
enum Enum {
   A {
     x: Error //~ ERROR
   }
}

fn main() {}