btreemap-alloc: adjust ui test

This commit is contained in:
Jacob Hughes 2022-03-14 06:58:58 -04:00
parent 417b20835d
commit 1f7023a519

View File

@ -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