]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/derives-span-Hash-enum-struct-variant.rs
Rollup merge of #103901 - H4x5:fmt-arguments-as-str-tracking-issue, r=the8472
[rust.git] / src / test / ui / derives / derives-span-Hash-enum-struct-variant.rs
1 // This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
2
3
4 struct Error;
5
6 #[derive(Hash)]
7 enum Enum {
8    A {
9      x: Error //~ ERROR
10    }
11 }
12
13 fn main() {}