rust/tests/ui/derives/derives-span-Default-struct.rs
2023-01-11 09:32:08 +00:00

12 lines
171 B
Rust

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