2019-11-03 18:00:00 -06:00
|
|
|
// check-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
2020-01-06 08:51:23 -06:00
|
|
|
#![allow(non_camel_case_types)]
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-01-01 10:16:44 -06:00
|
|
|
trait Person {
|
|
|
|
type string;
|
2015-02-12 09:29:52 -06:00
|
|
|
fn dummy(&self) { }
|
2015-01-01 10:16:44 -06:00
|
|
|
}
|
|
|
|
|
2015-02-12 09:29:52 -06:00
|
|
|
struct Someone<P: Person>(std::marker::PhantomData<P>);
|
2015-01-01 10:16:44 -06:00
|
|
|
|
|
|
|
fn main() {}
|