summary refs log tree commit diff
path: root/src/test/compile-fail/occurs-check.rs
blob: 49b6d42a1297d3f09d646411d0d43ddef6e4cc51 (plain)
1
2
3
4
fn main() {
    let f; //~ ERROR cyclic type of infinite size
    f = @f;
}