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
|
|
}
|