summaryrefslogtreecommitdiffstats
path: root/tests/ui/derives/derives-span-Default-struct.rs
blob: 71fd5829e7585084812a631f9fe9d7b051cba096 (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'


struct Error;

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

fn main() {}