]> git.proxmox.com Git - rustc.git/blame - tests/ui/associated-inherent-types/issue-109299.rs
Merge 1.70 into proxmox/bookworm
[rustc.git] / tests / ui / associated-inherent-types / issue-109299.rs
CommitLineData
353b0b11
FG
1#![feature(inherent_associated_types)]
2#![allow(incomplete_features)]
3
4struct Lexer<'d>(&'d ());
5
6impl Lexer<'d> { //~ ERROR use of undeclared lifetime name `'d`
7 type Cursor = ();
8}
9
10fn test(_: Lexer::Cursor) {}
11
12fn main() {}