rust/tests/ui/derives/derives-span-Default-struct.rs

12 lines
171 B
Rust
Raw Normal View History

// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
struct Error;
#[derive(Default)]
struct Struct {
x: Error //~ ERROR
}
fn main() {}