rust/tests/ui/issues/issue-3779.rs
2023-01-11 09:32:08 +00:00

8 lines
105 B
Rust

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