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

#[derive(PartialEq)]
struct Error;

#[derive(Eq,PartialEq)]
struct Struct {
    x: Error //~ ERROR
}

fn main() {}