Skip to content

Commit ea25822

Browse files
committed
btreemap-alloc: adjust ui test
1 parent 09511dc commit ea25822

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/test/ui/variance/variance-btree-invariant-types.stderr

+16-16
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ error[E0308]: mismatched types
124124
LL | 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 (), _, _>`
129129
note: the lifetime `'new` as defined here...
130130
--> $DIR/variance-btree-invariant-types.rs:29:20
131131
|
@@ -139,8 +139,8 @@ error[E0308]: mismatched types
139139
LL | 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 (), _>`
144144
note: the lifetime `'new` as defined here...
145145
--> $DIR/variance-btree-invariant-types.rs:33:20
146146
|
@@ -154,8 +154,8 @@ error[E0308]: mismatched types
154154
LL | 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 (), _, _>`
159159
note: the lifetime `'new` as defined here...
160160
--> $DIR/variance-btree-invariant-types.rs:37:23
161161
|
@@ -169,8 +169,8 @@ error[E0308]: mismatched types
169169
LL | 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 (), _>`
174174
note: the lifetime `'new` as defined here...
175175
--> $DIR/variance-btree-invariant-types.rs:41:23
176176
|
@@ -184,8 +184,8 @@ error[E0308]: mismatched types
184184
LL | 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 (), _, _>`
189189
note: the lifetime `'new` as defined here...
190190
--> $DIR/variance-btree-invariant-types.rs:46:20
191191
|
@@ -199,8 +199,8 @@ error[E0308]: mismatched types
199199
LL | 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 (), _>`
204204
note: the lifetime `'new` as defined here...
205205
--> $DIR/variance-btree-invariant-types.rs:50:20
206206
|
@@ -214,8 +214,8 @@ error[E0308]: mismatched types
214214
LL | 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 (), _, _>`
219219
note: the lifetime `'new` as defined here...
220220
--> $DIR/variance-btree-invariant-types.rs:54:23
221221
|
@@ -229,8 +229,8 @@ error[E0308]: mismatched types
229229
LL | 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 (), _>`
234234
note: the lifetime `'new` as defined here...
235235
--> $DIR/variance-btree-invariant-types.rs:58:23
236236
|

0 commit comments

Comments
 (0)