353b0b11 FG |
1 | #![feature(inherent_associated_types)] |
2 | #![allow(incomplete_features)] |
3 | |
4 | struct Lexer<'d>(&'d ()); |
5 | |
6 | impl Lexer<'d> { //~ ERROR use of undeclared lifetime name `'d` |
7 | type Cursor = (); |
8 | } |
9 | |
10 | fn test(_: Lexer::Cursor) {} |
11 | |
12 | fn main() {} |