]> git.proxmox.com Git - rustc.git/blob - src/test/ui/chalkify/lower_impl.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / chalkify / lower_impl.rs
1 // check-pass
2 // compile-flags: -Z chalk
3
4 trait Foo { }
5
6 impl<T: 'static> Foo for T where T: Iterator<Item = i32> { }
7
8 trait Bar {
9 type Assoc;
10 }
11
12 impl<T> Bar for T where T: Iterator<Item = i32> {
13 type Assoc = Vec<T>;
14 }
15
16 fn main() {
17 }