Skip to content

Commit

Permalink
btreemap-alloc: adjust ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
exrook committed Mar 22, 2022
1 parent 09511dc commit ea25822
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/test/ui/variance/variance-btree-invariant-types.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ error[E0308]: mismatched types
LL | v
| ^ lifetime mismatch
|
= note: expected struct `std::collections::btree_map::OccupiedEntry<'_, &'new (), _>`
found struct `std::collections::btree_map::OccupiedEntry<'_, &'static (), _>`
= note: expected struct `std::collections::btree_map::OccupiedEntry<'_, &'new (), _, _>`
found struct `std::collections::btree_map::OccupiedEntry<'_, &'static (), _, _>`
note: the lifetime `'new` as defined here...
--> $DIR/variance-btree-invariant-types.rs:29:20
|
Expand All @@ -139,8 +139,8 @@ error[E0308]: mismatched types
LL | v
| ^ lifetime mismatch
|
= note: expected struct `std::collections::btree_map::OccupiedEntry<'_, _, &'new ()>`
found struct `std::collections::btree_map::OccupiedEntry<'_, _, &'static ()>`
= note: expected struct `std::collections::btree_map::OccupiedEntry<'_, _, &'new (), _>`
found struct `std::collections::btree_map::OccupiedEntry<'_, _, &'static (), _>`
note: the lifetime `'new` as defined here...
--> $DIR/variance-btree-invariant-types.rs:33:20
|
Expand All @@ -154,8 +154,8 @@ error[E0308]: mismatched types
LL | v
| ^ lifetime mismatch
|
= note: expected struct `std::collections::btree_map::OccupiedEntry<'_, &'static (), _>`
found struct `std::collections::btree_map::OccupiedEntry<'_, &'new (), _>`
= note: expected struct `std::collections::btree_map::OccupiedEntry<'_, &'static (), _, _>`
found struct `std::collections::btree_map::OccupiedEntry<'_, &'new (), _, _>`
note: the lifetime `'new` as defined here...
--> $DIR/variance-btree-invariant-types.rs:37:23
|
Expand All @@ -169,8 +169,8 @@ error[E0308]: mismatched types
LL | v
| ^ lifetime mismatch
|
= note: expected struct `std::collections::btree_map::OccupiedEntry<'_, _, &'static ()>`
found struct `std::collections::btree_map::OccupiedEntry<'_, _, &'new ()>`
= note: expected struct `std::collections::btree_map::OccupiedEntry<'_, _, &'static (), _>`
found struct `std::collections::btree_map::OccupiedEntry<'_, _, &'new (), _>`
note: the lifetime `'new` as defined here...
--> $DIR/variance-btree-invariant-types.rs:41:23
|
Expand All @@ -184,8 +184,8 @@ error[E0308]: mismatched types
LL | v
| ^ lifetime mismatch
|
= note: expected struct `std::collections::btree_map::VacantEntry<'_, &'new (), _>`
found struct `std::collections::btree_map::VacantEntry<'_, &'static (), _>`
= note: expected struct `std::collections::btree_map::VacantEntry<'_, &'new (), _, _>`
found struct `std::collections::btree_map::VacantEntry<'_, &'static (), _, _>`
note: the lifetime `'new` as defined here...
--> $DIR/variance-btree-invariant-types.rs:46:20
|
Expand All @@ -199,8 +199,8 @@ error[E0308]: mismatched types
LL | v
| ^ lifetime mismatch
|
= note: expected struct `std::collections::btree_map::VacantEntry<'_, _, &'new ()>`
found struct `std::collections::btree_map::VacantEntry<'_, _, &'static ()>`
= note: expected struct `std::collections::btree_map::VacantEntry<'_, _, &'new (), _>`
found struct `std::collections::btree_map::VacantEntry<'_, _, &'static (), _>`
note: the lifetime `'new` as defined here...
--> $DIR/variance-btree-invariant-types.rs:50:20
|
Expand All @@ -214,8 +214,8 @@ error[E0308]: mismatched types
LL | v
| ^ lifetime mismatch
|
= note: expected struct `std::collections::btree_map::VacantEntry<'_, &'static (), _>`
found struct `std::collections::btree_map::VacantEntry<'_, &'new (), _>`
= note: expected struct `std::collections::btree_map::VacantEntry<'_, &'static (), _, _>`
found struct `std::collections::btree_map::VacantEntry<'_, &'new (), _, _>`
note: the lifetime `'new` as defined here...
--> $DIR/variance-btree-invariant-types.rs:54:23
|
Expand All @@ -229,8 +229,8 @@ error[E0308]: mismatched types
LL | v
| ^ lifetime mismatch
|
= note: expected struct `std::collections::btree_map::VacantEntry<'_, _, &'static ()>`
found struct `std::collections::btree_map::VacantEntry<'_, _, &'new ()>`
= note: expected struct `std::collections::btree_map::VacantEntry<'_, _, &'static (), _>`
found struct `std::collections::btree_map::VacantEntry<'_, _, &'new (), _>`
note: the lifetime `'new` as defined here...
--> $DIR/variance-btree-invariant-types.rs:58:23
|
Expand Down

0 comments on commit ea25822

Please sign in to comment.