blob: bc5bdc3ff9ef74c5834e39a68524dacdcdd47354 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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() {}
|