rust/tests/ui/impl-trait/issues/issue-70971.rs
2024-01-07 18:00:03 +00:00

5 lines
120 B
Rust

fn main() {
let x : (impl Copy,) = (true,);
//~^ `impl Trait` is not allowed in the type of variable bindings
}