This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
File tree
23 files changed
+229
-184
lines changed- compiler
- rustc_infer/src/infer/canonical
- rustc_middle/src
- infer
- ty
- rustc_next_trait_solver/src
- solve/eval_ctxt
- rustc_trait_selection/src/solve
- rustc_type_ir/src
- tests/ui/traits
- const-traits
- non_lifetime_binders
- trait-upcasting
23 files changed
+229
-184
lines changedLines changed: 30 additions & 30 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
176 |
| - | |
177 |
| - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
178 | 180 |
| |
179 | 181 |
| |
180 | 182 |
| |
| |||
288 | 290 |
| |
289 | 291 |
| |
290 | 292 |
| |
291 |
| - | |
| 293 | + | |
292 | 294 |
| |
293 | 295 |
| |
294 | 296 |
| |
| |||
390 | 392 |
| |
391 | 393 |
| |
392 | 394 |
| |
393 |
| - | |
394 |
| - | |
395 |
| - | |
396 |
| - | |
397 |
| - | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
398 | 402 |
| |
399 | 403 |
| |
400 | 404 |
| |
| |||
481 | 485 |
| |
482 | 486 |
| |
483 | 487 |
| |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
484 | 493 |
| |
485 |
| - | |
| 494 | + | |
486 | 495 |
| |
487 | 496 |
| |
488 | 497 |
| |
| |||
588 | 597 |
| |
589 | 598 |
| |
590 | 599 |
| |
591 |
| - | |
| 600 | + | |
592 | 601 |
| |
593 | 602 |
| |
594 | 603 |
| |
| |||
651 | 660 |
| |
652 | 661 |
| |
653 | 662 |
| |
654 |
| - | |
| 663 | + | |
655 | 664 |
| |
656 | 665 |
| |
657 | 666 |
| |
| |||
675 | 684 |
| |
676 | 685 |
| |
677 | 686 |
| |
678 |
| - | |
679 |
| - | |
680 |
| - | |
681 |
| - | |
682 |
| - | |
| 687 | + | |
| 688 | + | |
683 | 689 |
| |
684 |
| - | |
685 |
| - | |
686 |
| - | |
687 |
| - | |
688 |
| - | |
| 690 | + | |
| 691 | + | |
689 | 692 |
| |
690 |
| - | |
691 |
| - | |
692 |
| - | |
693 |
| - | |
694 |
| - | |
| 693 | + | |
| 694 | + | |
695 | 695 |
| |
696 | 696 |
| |
697 | 697 |
| |
| |||
721 | 721 |
| |
722 | 722 |
| |
723 | 723 |
| |
724 |
| - | |
| 724 | + | |
725 | 725 |
| |
726 | 726 |
| |
727 | 727 |
| |
| |||
733 | 733 |
| |
734 | 734 |
| |
735 | 735 |
| |
736 |
| - | |
| 736 | + | |
737 | 737 |
| |
738 | 738 |
| |
739 |
| - | |
| 739 | + | |
740 | 740 |
| |
741 | 741 |
| |
742 | 742 |
| |
| |||
745 | 745 |
| |
746 | 746 |
| |
747 | 747 |
| |
748 |
| - | |
| 748 | + | |
749 | 749 |
| |
750 | 750 |
| |
751 | 751 |
| |
|
Lines changed: 62 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 |
| - | |
| 84 | + | |
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
| 96 | + | |
100 | 97 |
| |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
105 | 102 |
| |
106 | 103 |
| |
107 |
| - | |
| 104 | + | |
108 | 105 |
| |
109 | 106 |
| |
110 | 107 |
| |
| |||
121 | 118 |
| |
122 | 119 |
| |
123 | 120 |
| |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 | 121 |
| |
131 | 122 |
| |
132 | 123 |
| |
133 | 124 |
| |
134 | 125 |
| |
135 | 126 |
| |
136 | 127 |
| |
137 |
| - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
138 | 160 |
| |
139 |
| - | |
140 |
| - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
141 | 166 |
| |
142 | 167 |
| |
143 |
| - | |
144 |
| - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
145 | 176 |
| |
146 |
| - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
147 | 180 |
| |
148 |
| - | |
149 |
| - | |
| 181 | + | |
| 182 | + | |
150 | 183 |
| |
151 | 184 |
| |
152 | 185 |
| |
|
Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
449 | 449 |
| |
450 | 450 |
| |
451 | 451 |
| |
452 |
| - | |
| 452 | + | |
453 | 453 |
| |
454 | 454 |
| |
455 | 455 |
| |
456 | 456 |
| |
457 | 457 |
| |
458 |
| - | |
459 |
| - | |
460 |
| - | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
461 | 463 |
| |
462 | 464 |
| |
463 | 465 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
314 | 314 |
| |
315 | 315 |
| |
316 | 316 |
| |
317 |
| - | |
| 317 | + | |
318 | 318 |
| |
319 | 319 |
| |
320 | 320 |
| |
|
Lines changed: 4 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
| 111 | + | |
115 | 112 |
| |
116 | 113 |
| |
117 | 114 |
| |
| |||
836 | 833 |
| |
837 | 834 |
| |
838 | 835 |
| |
839 |
| - | |
| 836 | + | |
840 | 837 |
| |
841 | 838 |
| |
842 | 839 |
| |
| |||
2678 | 2675 |
| |
2679 | 2676 |
| |
2680 | 2677 |
| |
2681 |
| - | |
| 2678 | + | |
2682 | 2679 |
| |
2683 | 2680 |
| |
2684 | 2681 |
| |
| |||
3058 | 3055 |
| |
3059 | 3056 |
| |
3060 | 3057 |
| |
3061 |
| - | |
| 3058 | + | |
3062 | 3059 |
| |
3063 | 3060 |
| |
3064 | 3061 |
| |
|
Lines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
437 | 437 |
| |
438 | 438 |
| |
439 | 439 |
| |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
440 | 446 |
| |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
441 | 451 |
| |
442 | 452 |
| |
443 | 453 |
| |
444 | 454 |
| |
445 |
| - | |
446 |
| - | |
| 455 | + | |
| 456 | + | |
447 | 457 |
| |
448 | 458 |
| |
449 | 459 |
| |
|
Lines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
374 | 374 |
| |
375 | 375 |
| |
376 | 376 |
| |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
377 | 383 |
| |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
378 | 388 |
| |
379 | 389 |
| |
380 | 390 |
| |
| |||
391 | 401 |
| |
392 | 402 |
| |
393 | 403 |
| |
394 |
| - | |
395 |
| - | |
396 |
| - | |
397 |
| - | |
398 |
| - | |
399 |
| - | |
400 | 404 |
| |
401 | 405 |
| |
402 | 406 |
| |
|
Lines changed: 14 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
| 53 | + | |
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
| |||
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
152 |
| - | |
| 152 | + | |
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
| |||
232 | 232 |
| |
233 | 233 |
| |
234 | 234 |
| |
235 |
| - | |
| 235 | + | |
236 | 236 |
| |
237 | 237 |
| |
238 | 238 |
| |
| |||
349 | 349 |
| |
350 | 350 |
| |
351 | 351 |
| |
352 |
| - | |
353 |
| - | |
354 |
| - | |
355 |
| - | |
356 |
| - | |
357 |
| - | |
| 352 | + | |
358 | 353 |
| |
359 |
| - | |
360 |
| - | |
361 |
| - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
362 | 357 |
| |
363 | 358 |
| |
364 | 359 |
| |
| |||
454 | 449 |
| |
455 | 450 |
| |
456 | 451 |
| |
457 |
| - | |
| 452 | + | |
458 | 453 |
| |
459 | 454 |
| |
460 | 455 |
| |
| |||
503 | 498 |
| |
504 | 499 |
| |
505 | 500 |
| |
506 |
| - | |
507 |
| - | |
508 |
| - | |
509 |
| - | |
510 |
| - | |
511 |
| - | |
512 |
| - | |
513 |
| - | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
514 | 504 |
| |
515 |
| - | |
516 |
| - | |
517 |
| - | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
518 | 508 |
| |
519 | 509 |
| |
520 | 510 |
| |
|
Lines changed: 10 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 |
| - | |
| 64 | + | |
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
68 | 76 |
| |
69 | 77 |
| |
70 | 78 |
| |
|
Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
365 | 365 |
| |
366 | 366 |
| |
367 | 367 |
| |
368 |
| - | |
| 368 | + | |
369 | 369 |
| |
370 | 370 |
| |
371 | 371 |
| |
| |||
379 | 379 |
| |
380 | 380 |
| |
381 | 381 |
| |
382 |
| - | |
383 |
| - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
384 | 385 |
| |
385 | 386 |
| |
386 | 387 |
| |
387 | 388 |
| |
388 |
| - | |
| 389 | + | |
389 | 390 |
| |
390 | 391 |
| |
391 | 392 |
| |
|
Lines changed: 12 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
188 | 188 |
| |
189 | 189 |
| |
190 | 190 |
| |
191 |
| - | |
| 191 | + | |
192 | 192 |
| |
193 |
| - | |
| 193 | + | |
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
197 |
| - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
198 | 207 |
| |
199 | 208 |
| |
200 | 209 |
| |
|
Lines changed: 16 additions & 35 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
91 |
| - | |
| 91 | + | |
92 | 92 |
| |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
96 |
| - | |
| 96 | + | |
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
101 |
| - | |
| 101 | + | |
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
109 |
| - | |
| 109 | + | |
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
115 |
| - | |
| 115 | + | |
116 | 116 |
| |
117 | 117 |
| |
118 |
| - | |
| 118 | + | |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
| 137 | + | |
138 | 138 |
| |
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
154 | 147 |
| |
155 | 148 |
| |
156 | 149 |
| |
| |||
178 | 171 |
| |
179 | 172 |
| |
180 | 173 |
| |
181 |
| - | |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
186 |
| - | |
187 |
| - | |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 | 174 |
| |
194 | 175 |
| |
195 | 176 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
527 | 527 |
| |
528 | 528 |
| |
529 | 529 |
| |
| 530 | + | |
| 531 | + | |
530 | 532 |
| |
531 | 533 |
| |
532 |
| - | |
| 534 | + | |
533 | 535 |
| |
534 | 536 |
| |
535 | 537 |
| |
|
Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
| 71 | + | |
72 | 72 |
| |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
| 73 | + | |
77 | 74 |
| |
78 | 75 |
| |
79 | 76 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
386 | 386 |
| |
387 | 387 |
| |
388 | 388 |
| |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
389 | 393 |
| |
390 | 394 |
| |
391 | 395 |
| |
|
Lines changed: 11 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
92 | 101 |
| |
93 | 102 |
| |
94 | 103 |
| |
| |||
191 | 200 |
| |
192 | 201 |
| |
193 | 202 |
| |
194 |
| - | |
| 203 | + | |
195 | 204 |
| |
196 |
| - | |
| 205 | + | |
197 | 206 |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
| 16 | + | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
| 21 | + | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
| 16 | + | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
| 21 | + | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
43 |
| - | |
| 42 | + | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
|
Lines changed: 6 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 |
| - | |
8 |
| - | |
| 7 | + | |
9 | 8 |
| |
10 |
| - | |
| 9 | + | |
11 | 10 |
| |
12 | 11 |
| |
13 | 12 |
| |
14 |
| - | |
| 13 | + | |
15 | 14 |
| |
16 |
| - | |
17 |
| - | |
| 15 | + | |
18 | 16 |
| |
19 | 17 |
| |
20 | 18 |
| |
21 | 19 |
| |
22 |
| - |
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 |
| - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
|
0 commit comments