rust/src/test/ui/chalkify/lower_impl.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
242 B
Rust
Raw Normal View History

2020-03-03 16:25:03 +00:00
// check-pass
// compile-flags: -Z chalk
trait Foo { }
impl<T: 'static> Foo for T where T: Iterator<Item = i32> { }
trait Bar {
type Assoc;
}
impl<T> Bar for T where T: Iterator<Item = i32> {
type Assoc = Vec<T>;
}
fn main() {
}