rust/src/test/compile-fail/occurs-check.rs

5 lines
95 B
Rust
Raw Normal View History

2012-03-22 22:06:01 -05:00
fn main() {
let f; //! ERROR this local variable has a type of infinite size
f = @f;
}