Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
impl-trait
/
issues
/
issue-84919.rs
blob: 0f911ba23ae201aff13b5b2e20856cb006bee4e0 [
file
] [
log
] [
blame
] [
edit
]
trait
Trait
{}
impl
Trait
for
()
{}
fn
foo
<
'a: '
a
>()
{
let
_x
:
impl
Trait
=
();
//~^ `impl Trait` is not allowed in the type of variable bindings
}
fn
main
()
{}