mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +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
|
|
}
|