Sign in
◑
Theme
rust
/
rust
/
0e252dfa22dd03f8a87f665d0ebe1192a5da07bf
/
.
/
tests
/
ui
/
impl-trait
/
issues
/
issue-84919.rs
blob: 1012024f21e1d58f1ea1900c5bdaa6beaa89d075 [
file
]
trait
Trait
{}
impl
Trait
for
()
{}
fn
foo
<
'a: '
a
>()
{
let
_x
:
impl
Trait
=
();
//~^ ERROR `impl Trait` is not allowed in the type of variable bindings
}
fn
main
()
{}