summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-3779.rs
blob: 901c1be80ca06c5718b366ee681638bbf69feac0 (plain)
1
2
3
4
5
6
7
8
struct S {
    //~^ ERROR E0072
    element: Option<S>
}

fn main() {
    let x = S { element: None };
}