Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
nll
/
issue-57280-1.rs
blob: b8979624e50e320955fc0023999b3bbdc13b997b [
file
] [
log
] [
blame
]
// check-pass
trait
Foo
<
'
a
>
{
const
C
:
&
'
a u32
;
}
impl
<
'a, T> Foo<'
a
>
for
T
{
const
C
:
&
'
a u32
=
&
22
;
}
fn
foo
()
{
let
a
=
22
;
match
&
a
{
<()
as
Foo
<
'
static
>>::
C
=>
{
}
&
_
=>
{
}
}
}
fn
main
()
{}