]>
Commit | Line | Data |
---|---|---|
60c5eb7d | 1 | // check-pass |
0bf4aa26 | 2 | #![allow(dead_code)] |
dfeec247 | 3 | #![allow(non_camel_case_types)] |
c34b1796 AL |
4 | // pretty-expanded FIXME #23616 |
5 | ||
1a4d82fc JJ |
6 | trait Person { |
7 | type string; | |
85aaf69f | 8 | fn dummy(&self) { } |
223e47cc LB |
9 | } |
10 | ||
85aaf69f | 11 | struct Someone<P: Person>(std::marker::PhantomData<P>); |
1a4d82fc | 12 | |
223e47cc | 13 | fn main() {} |