summary refs log tree commit diff
path: root/src/test/compile-fail/occurs-check.rs
blob: 4c4cacb36e7ebea0129b1a05bef07385b016a1d5 (plain)
1
2
3
4
fn main() {
    let f; //! ERROR this local variable has a type of infinite size
    f = @f;
}