rust/tests/ui/issues/issue-3779.rs

9 lines
105 B
Rust

struct S {
//~^ ERROR E0072
element: Option<S>
}
fn main() {
let x = S { element: None };
}