Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-36075.rs
blob: a563332ad78e918d9ea39cdffe2d131a97f625c1 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
allow
(
dead_code
)]
trait
DeclarationParser
{
type
Declaration
;
}
struct
DeclarationListParser
<
'
i
,
I
,
P
>
where P
:
DeclarationParser
<
Declaration
=
I
>
{
input
:
&
'
i
(),
parser
:
P
}
fn
main
()
{}