Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
impl-trait
/
issue-69840.rs
blob: b270f88b6886e3282f927c13de8e2704b071fe8c [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
impl_trait_in_bindings
)]
#![
allow
(
incomplete_features
)]
struct
A
<
'a>(&'
a
());
trait
Trait
<
T
>
{}
impl
<
T
>
Trait
<
T
>
for
()
{}
pub
fn
foo
<
'
a
>()
{
let
_x
:
impl
Trait
<
A
<
'
a
>>
=
();
}
fn
main
()
{}