mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
5 lines
126 B
Rust
5 lines
126 B
Rust
fn main() {
|
|
let x : (impl Copy,) = (true,);
|
|
//~^ ERROR `impl Trait` is not allowed in the type of variable bindings
|
|
}
|