mirror of https://github.com/rust-lang/rust.git
9 lines
118 B
Rust
9 lines
118 B
Rust
|
fn main() {
|
||
|
|
||
|
let f;
|
||
|
|
||
|
f = Box::new(f);
|
||
|
//~^ ERROR mismatched types
|
||
|
//~| cyclic type of infinite size
|
||
|
}
|