rust/src/test/ui/issues/issue-17732.rs
2019-07-03 06:30:28 +09:00

13 lines
234 B
Rust

// build-pass (FIXME(62277): could be 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() {}