mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 12:18:33 +00:00
5 lines
118 B
Rust
5 lines
118 B
Rust
![]() |
fn main() {
|
||
|
let x: impl Sized = ();
|
||
|
//~^ ERROR `impl Trait` is not allowed in the type of variable bindings
|
||
|
}
|