rust/tests/ui/sized/unsized-binding.rs

6 lines
93 B
Rust

fn main() {
let x = *""; //~ ERROR E0277
println!("{}", x);
println!("{}", x);
}