Closed
Description
The following code:
#![feature(generic_associated_types)]
trait X {
type Y<T>: i32 where Self: Sized;
}
impl X for () {
type Y<T> where Self: Sized = u32;
}
is pretty printed as
#![feature(generic_associated_types)]
trait X {
type
Y: i32;
}
impl X for () {
type
Y
=
u32;
}
This presumably also affects procedural macros.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment