blob: 7993bbb38bb4abc7160e3a6ed4a94b532ec9c214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// compile-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() {}
|