summary refs log tree commit diff
path: root/src/test/ui/issues/issue-17732.rs
blob: 5e11fc4fcfb58c9384ae85e69e43a928c81b0139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616

trait Person {
    type string;
    fn dummy(&self) { }
}

struct Someone<P: Person>(std::marker::PhantomData<P>);

fn main() {}