1 // Test that we elaborate `Type: 'region` constraints and infer various important things.
3 trait Master<'a, T: ?Sized, U> {
7 // `U::Item: 'a` does not imply that `U: 'a`
8 impl<'a, U: Iterator> Master<'a, U::Item, U> for () {
9 fn foo() where U: 'a { } //~ ERROR E0276
13 println!("Hello, world!");