From 1f7023a51968b8f571b3c3cd3359b49c97999d6c Mon Sep 17 00:00:00 2001 From: Jacob Hughes Date: Mon, 14 Mar 2022 06:58:58 -0400 Subject: [PATCH] btreemap-alloc: adjust ui test --- .../variance-btree-invariant-types.stderr | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/ui/variance/variance-btree-invariant-types.stderr b/src/test/ui/variance/variance-btree-invariant-types.stderr index 22d149feb4d..6f79100217a 100644 --- a/src/test/ui/variance/variance-btree-invariant-types.stderr +++ b/src/test/ui/variance/variance-btree-invariant-types.stderr @@ -104,7 +104,7 @@ LL | v | ^ returning this value requires that `'new` must outlive `'static` | = note: requirement occurs because of the type `std::collections::btree_map::OccupiedEntry<'_, &(), ()>`, which makes the generic argument `&()` invariant - = note: the struct `std::collections::btree_map::OccupiedEntry<'a, K, V>` is invariant over the parameter `K` + = note: the struct `std::collections::btree_map::OccupiedEntry<'a, K, V, A>` is invariant over the parameter `K` = help: see for more information about variance error: lifetime may not live long enough @@ -117,7 +117,7 @@ LL | v | ^ returning this value requires that `'new` must outlive `'static` | = note: requirement occurs because of the type `std::collections::btree_map::OccupiedEntry<'_, (), &()>`, which makes the generic argument `()` invariant - = note: the struct `std::collections::btree_map::OccupiedEntry<'a, K, V>` is invariant over the parameter `K` + = note: the struct `std::collections::btree_map::OccupiedEntry<'a, K, V, A>` is invariant over the parameter `K` = help: see for more information about variance error: lifetime may not live long enough @@ -130,7 +130,7 @@ LL | v | ^ returning this value requires that `'new` must outlive `'static` | = note: requirement occurs because of the type `std::collections::btree_map::OccupiedEntry<'_, &(), ()>`, which makes the generic argument `&()` invariant - = note: the struct `std::collections::btree_map::OccupiedEntry<'a, K, V>` is invariant over the parameter `K` + = note: the struct `std::collections::btree_map::OccupiedEntry<'a, K, V, A>` is invariant over the parameter `K` = help: see for more information about variance error: lifetime may not live long enough @@ -143,7 +143,7 @@ LL | v | ^ returning this value requires that `'new` must outlive `'static` | = note: requirement occurs because of the type `std::collections::btree_map::OccupiedEntry<'_, (), &()>`, which makes the generic argument `()` invariant - = note: the struct `std::collections::btree_map::OccupiedEntry<'a, K, V>` is invariant over the parameter `K` + = note: the struct `std::collections::btree_map::OccupiedEntry<'a, K, V, A>` is invariant over the parameter `K` = help: see for more information about variance error: lifetime may not live long enough @@ -156,7 +156,7 @@ LL | v | ^ returning this value requires that `'new` must outlive `'static` | = note: requirement occurs because of the type `std::collections::btree_map::VacantEntry<'_, &(), ()>`, which makes the generic argument `&()` invariant - = note: the struct `std::collections::btree_map::VacantEntry<'a, K, V>` is invariant over the parameter `K` + = note: the struct `std::collections::btree_map::VacantEntry<'a, K, V, A>` is invariant over the parameter `K` = help: see for more information about variance error: lifetime may not live long enough @@ -169,7 +169,7 @@ LL | v | ^ returning this value requires that `'new` must outlive `'static` | = note: requirement occurs because of the type `std::collections::btree_map::VacantEntry<'_, (), &()>`, which makes the generic argument `()` invariant - = note: the struct `std::collections::btree_map::VacantEntry<'a, K, V>` is invariant over the parameter `K` + = note: the struct `std::collections::btree_map::VacantEntry<'a, K, V, A>` is invariant over the parameter `K` = help: see for more information about variance error: lifetime may not live long enough @@ -182,7 +182,7 @@ LL | v | ^ returning this value requires that `'new` must outlive `'static` | = note: requirement occurs because of the type `std::collections::btree_map::VacantEntry<'_, &(), ()>`, which makes the generic argument `&()` invariant - = note: the struct `std::collections::btree_map::VacantEntry<'a, K, V>` is invariant over the parameter `K` + = note: the struct `std::collections::btree_map::VacantEntry<'a, K, V, A>` is invariant over the parameter `K` = help: see for more information about variance error: lifetime may not live long enough @@ -195,7 +195,7 @@ LL | v | ^ returning this value requires that `'new` must outlive `'static` | = note: requirement occurs because of the type `std::collections::btree_map::VacantEntry<'_, (), &()>`, which makes the generic argument `()` invariant - = note: the struct `std::collections::btree_map::VacantEntry<'a, K, V>` is invariant over the parameter `K` + = note: the struct `std::collections::btree_map::VacantEntry<'a, K, V, A>` is invariant over the parameter `K` = help: see for more information about variance error: aborting due to 16 previous errors