Repository navigation
Commit 515e51e
committed
test: fold the resolver's ambiguity tests into the tests that already cover them
Three of the new `field_resolver.rs` tests repeated rules that existing tests
already reach through `match_struct_fields`. Remove them and keep what was new:
`issue_5783_nested_name_duplicate` gains a field that differs from the
duplicate only in case, which a case-sensitive read must resolve on its own,
and `unrequested_duplicate_field_id_reads_fine` gains a name collision that the
requested field's id match never compares.1 parent 2cd2f2f commit 515e51e
3 files changed
Lines changed: 13 additions & 58 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | 352 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2190 | 2190 | | |
2191 | 2191 | | |
2192 | 2192 | | |
2193 | | - | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
2194 | 2196 | | |
2195 | 2197 | | |
2196 | 2198 | | |
| |||
2204 | 2206 | | |
2205 | 2207 | | |
2206 | 2208 | | |
| 2209 | + | |
| 2210 | + | |
2207 | 2211 | | |
2208 | 2212 | | |
2209 | 2213 | | |
| |||
2213 | 2217 | | |
2214 | 2218 | | |
2215 | 2219 | | |
| 2220 | + | |
| 2221 | + | |
2216 | 2222 | | |
2217 | 2223 | | |
2218 | 2224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3644 | 3644 | | |
3645 | 3645 | | |
3646 | 3646 | | |
| 3647 | + | |
3647 | 3648 | | |
3648 | 3649 | | |
3649 | 3650 | | |
| |||
3652 | 3653 | | |
3653 | 3654 | | |
3654 | 3655 | | |
| 3656 | + | |
| 3657 | + | |
| 3658 | + | |
| 3659 | + | |
| 3660 | + | |
3655 | 3661 | | |
3656 | 3662 | | |
3657 | 3663 | | |
| |||
0 commit comments