diff options
| author | Jacob Hughes <j@distanthills.org> | 2022-03-14 06:58:58 -0400 |
|---|---|---|
| committer | Jacob Hughes <j@distanthills.org> | 2022-06-14 13:54:10 -0400 |
| commit | 1f7023a51968b8f571b3c3cd3359b49c97999d6c (patch) | |
| tree | 3fffaf559b9916a49b4fefef8de52ee089165dc3 /src | |
| parent | 417b20835d9409ecfc9aa62e25368a5c1040b7ee (diff) | |
btreemap-alloc: adjust ui test
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/variance/variance-btree-invariant-types.stderr | 16 |
1 files 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 <https://doc.rust-lang.org/nomicon/subtyping.html> 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 <https://doc.rust-lang.org/nomicon/subtyping.html> 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 <https://doc.rust-lang.org/nomicon/subtyping.html> 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 <https://doc.rust-lang.org/nomicon/subtyping.html> 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 <https://doc.rust-lang.org/nomicon/subtyping.html> 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 <https://doc.rust-lang.org/nomicon/subtyping.html> 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 <https://doc.rust-lang.org/nomicon/subtyping.html> 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 <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance error: aborting due to 16 previous errors |
