mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 03:48:18 +00:00
5 lines
91 B
Rust
5 lines
91 B
Rust
fn main() {
|
|
let _: String = Box::new(String::new());
|
|
//~^ ERROR mismatched types
|
|
}
|