rust/src/test/ui/issues/issue-17732.rs
2018-12-25 21:08:33 -07:00

13 lines
199 B
Rust

// 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() {}