blob: 00c8cf1fb8aba5aa6d58622b328eb84199eee49f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// build-pass (FIXME(62277): could be 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() {}
|