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