Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
feature-gates
/
feature-gate-impl-trait-in-bindings.rs
blob: f6574b481203c3e8539c679f888642605bbb9420 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
:
impl
Sized
=
();
//~^ ERROR `impl Trait` is not allowed in the type of variable bindings
}