]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/gat-bounds.rs
Rollup merge of #68824 - ajpaverd:cfguard-rustbuild, r=Mark-Simulacrum
[rust.git] / src / test / pretty / gat-bounds.rs
1 // Check that associated types print generic parameters and where clauses.
2 // See issue #67509.
3
4 // pretty-compare-only
5 // pp-exact:gat-bounds.pp
6
7 #![feature(generic_associated_types)]
8
9 trait X {
10     type Y<T>: Trait where Self: Sized;
11 }
12
13 impl X for () {
14     type Y<T> where Self: Sized = u32;
15 }
16
17 fn main() { }