Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
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
()
{}