2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-02-12 09:29:52 -06:00
|
|
|
trait A<X> {
|
|
|
|
fn dummy(&self, arg: X);
|
|
|
|
}
|
2015-02-13 16:38:27 -06:00
|
|
|
|
|
|
|
trait B {
|
|
|
|
type X;
|
|
|
|
type Y: A<Self::X>;
|
2015-02-12 09:29:52 -06:00
|
|
|
|
|
|
|
fn dummy(&self);
|
2015-02-13 16:38:27 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main () { }
|