rustc/tests/ui/impl-trait/issues/issue-70971.rs
2024-06-19 10:24:51 +02:00

5 lines
120 B
Rust

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