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


struct Error;

#[derive(PartialEq)]
enum Enum {
   A {
     x: Error //~ ERROR
//~^ ERROR
   }
}

fn main() {}