mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +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
|
|
}
|