rust/tests/ui/feature-gates/feature-gate-impl-trait-in-bindings.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
118 B
Rust
Raw Normal View History

2024-12-11 22:18:39 +00:00
fn main() {
let x: impl Sized = ();
//~^ ERROR `impl Trait` is not allowed in the type of variable bindings
}