summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-inherent-types/issue-104260.rs
blob: a73cd1775b462e8795a456c1c9123026d6122d23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// check-pass

#![feature(inherent_associated_types)]
#![allow(incomplete_features)]

struct Foo;

impl Foo {
    type Bar<T> = u8;
}

fn main() {
    let a: Foo::Bar<()>;
}