@@ -124,8 +124,8 @@ error[E0308]: mismatched types
124
124
LL | v
125
125
| ^ lifetime mismatch
126
126
|
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 (), _, _ >`
129
129
note: the lifetime `'new` as defined here...
130
130
--> $DIR/variance-btree-invariant-types.rs:29:20
131
131
|
@@ -139,8 +139,8 @@ error[E0308]: mismatched types
139
139
LL | v
140
140
| ^ lifetime mismatch
141
141
|
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 (), _ >`
144
144
note: the lifetime `'new` as defined here...
145
145
--> $DIR/variance-btree-invariant-types.rs:33:20
146
146
|
@@ -154,8 +154,8 @@ error[E0308]: mismatched types
154
154
LL | v
155
155
| ^ lifetime mismatch
156
156
|
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 (), _, _ >`
159
159
note: the lifetime `'new` as defined here...
160
160
--> $DIR/variance-btree-invariant-types.rs:37:23
161
161
|
@@ -169,8 +169,8 @@ error[E0308]: mismatched types
169
169
LL | v
170
170
| ^ lifetime mismatch
171
171
|
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 (), _ >`
174
174
note: the lifetime `'new` as defined here...
175
175
--> $DIR/variance-btree-invariant-types.rs:41:23
176
176
|
@@ -184,8 +184,8 @@ error[E0308]: mismatched types
184
184
LL | v
185
185
| ^ lifetime mismatch
186
186
|
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 (), _, _ >`
189
189
note: the lifetime `'new` as defined here...
190
190
--> $DIR/variance-btree-invariant-types.rs:46:20
191
191
|
@@ -199,8 +199,8 @@ error[E0308]: mismatched types
199
199
LL | v
200
200
| ^ lifetime mismatch
201
201
|
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 (), _ >`
204
204
note: the lifetime `'new` as defined here...
205
205
--> $DIR/variance-btree-invariant-types.rs:50:20
206
206
|
@@ -214,8 +214,8 @@ error[E0308]: mismatched types
214
214
LL | v
215
215
| ^ lifetime mismatch
216
216
|
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 (), _, _ >`
219
219
note: the lifetime `'new` as defined here...
220
220
--> $DIR/variance-btree-invariant-types.rs:54:23
221
221
|
@@ -229,8 +229,8 @@ error[E0308]: mismatched types
229
229
LL | v
230
230
| ^ lifetime mismatch
231
231
|
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 (), _ >`
234
234
note: the lifetime `'new` as defined here...
235
235
--> $DIR/variance-btree-invariant-types.rs:58:23
236
236
|
0 commit comments