summaryrefslogtreecommitdiffstats
path: root/tests/ui/derives/derives-span-Hash-enum-struct-variant.rs
blob: 3018a7b6d03eef4c4015236bdaa97e2eee21df54 (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'


struct Error;

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

fn main() {}