// Test that even when `Self` is only used in covariant position, it
// is treated as invariant.
// Test that even when `Self` is only used in covariant position, it
// is treated as invariant.
where 'max : 'min, G : 'max, &'max G : Get
{
// Previously OK, now an error as traits are invariant.
where 'max : 'min, G : 'max, &'max G : Get
{
// Previously OK, now an error as traits are invariant.
}
fn get_max_from_min<'min, 'max, G>()
where 'max : 'min, G : 'max, &'min G : Get
{
}
fn get_max_from_min<'min, 'max, G>()
where 'max : 'min, G : 'max, &'min G : Get
{