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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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() {}