summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-inherent-types/issue-109299.rs
blob: 84e4f9e72527aa21025ab3b061ceb17b1a47afbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![feature(inherent_associated_types)]
#![allow(incomplete_features)]

struct Lexer<'d>(&'d ());

impl Lexer<'d> { //~ ERROR use of undeclared lifetime name `'d`
    type Cursor = ();
}

fn test(_: Lexer::Cursor) {}

fn main() {}