rust/tests/ui/impl-trait/issues/issue-70971.rs
2025-04-08 23:06:31 +03:00

4 lines
126 B
Rust

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