]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-inherent-types/struct-generics.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / associated-inherent-types / struct-generics.rs
CommitLineData
487cf647
FG
1// check-pass
2
3#![feature(inherent_associated_types)]
4#![allow(incomplete_features)]
5
6struct S<T>(T);
7
8impl<T> S<T> {
9 type P = T;
10}
11
12fn main() {
13 type A = S<()>::P;
14 let _: A = ();
15}