rust/tests/ui/occurs-check.rs
2023-01-11 09:32:08 +00:00

9 lines
118 B
Rust

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