]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/derives-span-Eq-struct.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / derives / derives-span-Eq-struct.rs
1 // This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
2
3 #[derive(PartialEq)]
4 struct Error;
5
6 #[derive(Eq,PartialEq)]
7 struct Struct {
8     x: Error //~ ERROR
9 }
10
11 fn main() {}