about summary refs log tree commit diff
path: root/tests/ui/issues/issue-17732.rs
blob: e093ed7f41fb00ee2371d3a91ee043201ad08fba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ check-pass
#![allow(dead_code)]
#![allow(non_camel_case_types)]

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

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

fn main() {}