summaryrefslogtreecommitdiffstats
path: root/tests/ui/derives/derives-span-Eq-enum.rs
blob: c6c0d4321083b8c5dd50fdeac39cbee3486e0375 (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(Eq,PartialEq)]
enum Enum {
   A(
     Error //~ ERROR
     )
}

fn main() {}