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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
93 B
Rust
Raw Normal View History

2023-06-30 03:06:15 +00:00
fn main() {
let x = *""; //~ ERROR E0277
println!("{}", x);
println!("{}", x);
2023-06-30 03:06:15 +00:00
}