]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-17732.rs
Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup
[rust.git] / src / test / ui / issues / issue-17732.rs
1 // check-pass
2 #![allow(dead_code)]
3 #![allow(non_camel_case_types)]
4 // pretty-expanded FIXME #23616
5
6 trait Person {
7     type string;
8     fn dummy(&self) { }
9 }
10
11 struct Someone<P: Person>(std::marker::PhantomData<P>);
12
13 fn main() {}