summaryrefslogtreecommitdiffstats
path: root/tests/ui/occurs-check.rs
blob: aec52d839766ad3e42ec040a30a6cf4e0572bae7 (plain)
1
2
3
4
5
6
7
8
fn main() {

    let f;

    f = Box::new(f);
    //~^ ERROR mismatched types
    //~| cyclic type of infinite size
}