@@ -124,8 +124,8 @@ error[E0308]: mismatched types
124124LL | v
125125 | ^ lifetime mismatch
126126 |
127- = note: expected struct `std::collections::btree_map::OccupiedEntry<'_, &'new (), _>`
128- found struct `std::collections::btree_map::OccupiedEntry<'_, &'static (), _>`
127+ = note: expected struct `std::collections::btree_map::OccupiedEntry<'_, &'new (), _, _ >`
128+ found struct `std::collections::btree_map::OccupiedEntry<'_, &'static (), _, _ >`
129129note: the lifetime `'new` as defined here...
130130 --> $DIR/variance-btree-invariant-types.rs:29:20
131131 |
@@ -139,8 +139,8 @@ error[E0308]: mismatched types
139139LL | v
140140 | ^ lifetime mismatch
141141 |
142- = note: expected struct `std::collections::btree_map::OccupiedEntry<'_, _, &'new ()>`
143- found struct `std::collections::btree_map::OccupiedEntry<'_, _, &'static ()>`
142+ = note: expected struct `std::collections::btree_map::OccupiedEntry<'_, _, &'new (), _ >`
143+ found struct `std::collections::btree_map::OccupiedEntry<'_, _, &'static (), _ >`
144144note: the lifetime `'new` as defined here...
145145 --> $DIR/variance-btree-invariant-types.rs:33:20
146146 |
@@ -154,8 +154,8 @@ error[E0308]: mismatched types
154154LL | v
155155 | ^ lifetime mismatch
156156 |
157- = note: expected struct `std::collections::btree_map::OccupiedEntry<'_, &'static (), _>`
158- found struct `std::collections::btree_map::OccupiedEntry<'_, &'new (), _>`
157+ = note: expected struct `std::collections::btree_map::OccupiedEntry<'_, &'static (), _, _ >`
158+ found struct `std::collections::btree_map::OccupiedEntry<'_, &'new (), _, _ >`
159159note: the lifetime `'new` as defined here...
160160 --> $DIR/variance-btree-invariant-types.rs:37:23
161161 |
@@ -169,8 +169,8 @@ error[E0308]: mismatched types
169169LL | v
170170 | ^ lifetime mismatch
171171 |
172- = note: expected struct `std::collections::btree_map::OccupiedEntry<'_, _, &'static ()>`
173- found struct `std::collections::btree_map::OccupiedEntry<'_, _, &'new ()>`
172+ = note: expected struct `std::collections::btree_map::OccupiedEntry<'_, _, &'static (), _ >`
173+ found struct `std::collections::btree_map::OccupiedEntry<'_, _, &'new (), _ >`
174174note: the lifetime `'new` as defined here...
175175 --> $DIR/variance-btree-invariant-types.rs:41:23
176176 |
@@ -184,8 +184,8 @@ error[E0308]: mismatched types
184184LL | v
185185 | ^ lifetime mismatch
186186 |
187- = note: expected struct `std::collections::btree_map::VacantEntry<'_, &'new (), _>`
188- found struct `std::collections::btree_map::VacantEntry<'_, &'static (), _>`
187+ = note: expected struct `std::collections::btree_map::VacantEntry<'_, &'new (), _, _ >`
188+ found struct `std::collections::btree_map::VacantEntry<'_, &'static (), _, _ >`
189189note: the lifetime `'new` as defined here...
190190 --> $DIR/variance-btree-invariant-types.rs:46:20
191191 |
@@ -199,8 +199,8 @@ error[E0308]: mismatched types
199199LL | v
200200 | ^ lifetime mismatch
201201 |
202- = note: expected struct `std::collections::btree_map::VacantEntry<'_, _, &'new ()>`
203- found struct `std::collections::btree_map::VacantEntry<'_, _, &'static ()>`
202+ = note: expected struct `std::collections::btree_map::VacantEntry<'_, _, &'new (), _ >`
203+ found struct `std::collections::btree_map::VacantEntry<'_, _, &'static (), _ >`
204204note: the lifetime `'new` as defined here...
205205 --> $DIR/variance-btree-invariant-types.rs:50:20
206206 |
@@ -214,8 +214,8 @@ error[E0308]: mismatched types
214214LL | v
215215 | ^ lifetime mismatch
216216 |
217- = note: expected struct `std::collections::btree_map::VacantEntry<'_, &'static (), _>`
218- found struct `std::collections::btree_map::VacantEntry<'_, &'new (), _>`
217+ = note: expected struct `std::collections::btree_map::VacantEntry<'_, &'static (), _, _ >`
218+ found struct `std::collections::btree_map::VacantEntry<'_, &'new (), _, _ >`
219219note: the lifetime `'new` as defined here...
220220 --> $DIR/variance-btree-invariant-types.rs:54:23
221221 |
@@ -229,8 +229,8 @@ error[E0308]: mismatched types
229229LL | v
230230 | ^ lifetime mismatch
231231 |
232- = note: expected struct `std::collections::btree_map::VacantEntry<'_, _, &'static ()>`
233- found struct `std::collections::btree_map::VacantEntry<'_, _, &'new ()>`
232+ = note: expected struct `std::collections::btree_map::VacantEntry<'_, _, &'static (), _ >`
233+ found struct `std::collections::btree_map::VacantEntry<'_, _, &'new (), _ >`
234234note: the lifetime `'new` as defined here...
235235 --> $DIR/variance-btree-invariant-types.rs:58:23
236236 |
0 commit comments