This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 9d387d1
committed
Simplify some code paths and remove an unused field
`ct_infer` and `lower_ty` will correctly result in an error constant or type respectively, as they go through a `HirTyLowerer` method (just like `HirTyLowerer::allow_infer` is a method implemented by both implementors1 parent dc020ae commit 9d387d1
1 file changed
+3
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
425 | 424 | | |
426 | 425 | | |
427 | 426 | | |
| |||
450 | 449 | | |
451 | 450 | | |
452 | 451 | | |
453 | | - | |
| 452 | + | |
454 | 453 | | |
455 | 454 | | |
456 | 455 | | |
| |||
467 | 466 | | |
468 | 467 | | |
469 | 468 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 469 | + | |
476 | 470 | | |
477 | 471 | | |
478 | 472 | | |
| |||
496 | 490 | | |
497 | 491 | | |
498 | 492 | | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
| 493 | + | |
505 | 494 | | |
506 | 495 | | |
507 | 496 | | |
| |||
604 | 593 | | |
605 | 594 | | |
606 | 595 | | |
607 | | - | |
608 | 596 | | |
609 | 597 | | |
610 | 598 | | |
| |||
0 commit comments