summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/issue-85347.rs
blob: f08e38689d6af9e5300969bf74aebe6a919fe746 (plain)
1
2
3
4
5
6
7
8
9
10
#![allow(incomplete_features)]
#![feature(generic_associated_types)]
use std::ops::Deref;
trait Foo {
    type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
    //~^ ERROR this associated type takes 1 lifetime argument but 0 lifetime arguments were supplied
    //~| HELP add missing
}

fn main() {}