summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-inherent-types/issue-109768.rs
blob: a3ae2e2ab4476728f7eb3313af3290ad196373a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// incremental

struct Wrapper<T>(T);

struct Local<T, U>(T, U);

impl<T> Local { //~ ERROR missing generics for struct `Local`
    type AssocType3 = T; //~ ERROR inherent associated types are unstable

    const WRAPPED_ASSOC_3: Wrapper<Self::AssocType3> = Wrapper();
}
//~^ ERROR `main` function not found