File tree
20 files changed
+207
-51
lines changed- compiler
- rustc_infer/src/infer/canonical
- rustc_middle
- src/traits
- rustc_traits
- src/chalk
- src
- doc
- test/ui/associated-type-bounds
- tools
- tidy/src
20 files changed
+207
-51
lines changedLines changed: 10 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
496 | 496 |
| |
497 | 497 |
| |
498 | 498 |
| |
499 |
| - | |
500 |
| - | |
501 |
| - | |
| 499 | + | |
| 500 | + | |
502 | 501 |
| |
503 | 502 |
| |
504 | 503 |
| |
| |||
508 | 507 |
| |
509 | 508 |
| |
510 | 509 |
| |
511 |
| - | |
512 |
| - | |
513 |
| - | |
| 510 | + | |
| 511 | + | |
514 | 512 |
| |
515 | 513 |
| |
516 | 514 |
| |
| |||
521 | 519 |
| |
522 | 520 |
| |
523 | 521 |
| |
524 |
| - | |
525 |
| - | |
526 |
| - | |
| 522 | + | |
| 523 | + | |
527 | 524 |
| |
| 525 | + | |
528 | 526 |
| |
529 | 527 |
| |
530 | 528 |
| |
531 | 529 |
| |
532 | 530 |
| |
533 | 531 |
| |
534 |
| - | |
535 |
| - | |
536 |
| - | |
| 532 | + | |
| 533 | + | |
537 | 534 |
| |
538 | 535 |
| |
539 | 536 |
| |
| |||
4312 | 4309 |
| |
4313 | 4310 |
| |
4314 | 4311 |
| |
| 4312 | + | |
4315 | 4313 |
| |
4316 | 4314 |
| |
4317 | 4315 |
| |
|
Lines changed: 4 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
353 | 353 |
| |
354 | 354 |
| |
355 | 355 |
| |
356 |
| - | |
357 |
| - | |
358 |
| - | |
359 |
| - | |
| 356 | + | |
| 357 | + | |
360 | 358 |
| |
361 | 359 |
| |
362 | 360 |
| |
| |||
440 | 438 |
| |
441 | 439 |
| |
442 | 440 |
| |
443 |
| - | |
444 |
| - | |
445 |
| - | |
446 |
| - | |
| 441 | + | |
| 442 | + | |
447 | 443 |
| |
448 | 444 |
| |
449 | 445 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
|
Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
| 75 | + | |
75 | 76 |
| |
76 | 77 |
| |
77 | 78 |
| |
| |||
351 | 352 |
| |
352 | 353 |
| |
353 | 354 |
| |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
354 | 369 |
| |
355 | 370 |
| |
356 | 371 |
| |
|
Lines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 |
| |
19 | 23 |
| |
20 | 24 |
|
Lines changed: 80 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 |
| |
14 | 17 |
| |
15 | 18 |
| |
| |||
18 | 21 |
| |
19 | 22 |
| |
20 | 23 |
| |
21 |
| - | |
22 | 24 |
| |
23 | 25 |
| |
24 | 26 |
| |
| |||
205 | 207 |
| |
206 | 208 |
| |
207 | 209 |
| |
208 |
| - | |
| 210 | + | |
209 | 211 |
| |
210 |
| - | |
211 |
| - | |
212 |
| - | |
213 |
| - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
214 | 236 |
| |
215 | 237 |
| |
216 | 238 |
| |
| |||
316 | 338 |
| |
317 | 339 |
| |
318 | 340 |
| |
319 |
| - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
320 | 346 |
| |
321 | 347 |
| |
322 | 348 |
| |
| |||
541 | 567 |
| |
542 | 568 |
| |
543 | 569 |
| |
| 570 | + | |
544 | 571 |
| |
545 | 572 |
| |
546 | 573 |
| |
| |||
586 | 613 |
| |
587 | 614 |
| |
588 | 615 |
| |
589 |
| - | |
| 616 | + | |
590 | 617 |
| |
591 | 618 |
| |
592 | 619 |
| |
| |||
644 | 671 |
| |
645 | 672 |
| |
646 | 673 |
| |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
647 | 719 |
| |
648 | 720 |
| |
649 | 721 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
290 |
| - | |
| 290 | + | |
291 | 291 |
| |
292 | 292 |
| |
293 | 293 |
| |
294 | 294 |
| |
295 |
| - | |
| 295 | + | |
296 | 296 |
| |
297 | 297 |
| |
298 | 298 |
| |
| |||
478 | 478 |
| |
479 | 479 |
| |
480 | 480 |
| |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
481 | 485 |
| |
482 | 486 |
| |
483 | 487 |
| |
|
Lines changed: 34 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
| 100 | + | |
100 | 101 |
| |
101 | 102 |
| |
102 | 103 |
| |
| |||
105 | 106 |
| |
106 | 107 |
| |
107 | 108 |
| |
108 |
| - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
109 | 113 |
| |
110 | 114 |
| |
111 | 115 |
| |
112 | 116 |
| |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
113 | 140 |
| |
114 |
| - | |
115 |
| - | |
| 141 | + | |
| 142 | + | |
116 | 143 |
| |
117 | 144 |
| |
118 | 145 |
| |
| |||
126 | 153 |
| |
127 | 154 |
| |
128 | 155 |
| |
129 |
| - | |
| 156 | + | |
130 | 157 |
| |
131 | 158 |
| |
132 | 159 |
| |
133 |
| - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
134 | 163 |
| |
135 | 164 |
| |
136 | 165 |
| |
|
- .github/workflows/main.yml+4-4
- ADMIN_TASKS.md+54-69
- listings/ch03-common-programming-concepts/no-listing-15-invalid-array-access/output.txt+15
- listings/ch03-common-programming-concepts/no-listing-15-invalid-array-access/src/main.rs+2-19
- listings/ch06-enums-and-pattern-matching/no-listing-12-if-let/src/main.rs+1-1
- listings/ch11-writing-automated-tests/listing-11-10/output.txt+1-1
- listings/ch12-an-io-project/listing-12-03/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-04/output.txt+3-3
- listings/ch12-an-io-project/listing-12-04/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-05/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-06/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-07/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-08/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-09/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-10/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-11/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-12/output.txt+3-3
- listings/ch12-an-io-project/listing-12-12/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-13/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-14/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-15/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-16/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-17/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-18/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-19/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-20/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-21/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-22/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-23/poem.txt+3-3
- listings/ch12-an-io-project/listing-12-24/poem.txt+3-3
- listings/ch12-an-io-project/no-listing-01-handling-errors-in-main/poem.txt+3-3
- listings/ch12-an-io-project/no-listing-02-using-search-in-run/poem.txt+3-3
- listings/ch12-an-io-project/output-only-02-missing-lifetimes/poem.txt+3-3
- listings/ch12-an-io-project/output-only-03-multiple-matches/output.txt+1-1
- listings/ch12-an-io-project/output-only-03-multiple-matches/poem.txt+3-3
- listings/ch12-an-io-project/output-only-04-no-matches/poem.txt+3-3
- listings/ch17-oop/no-listing-01-trait-object-of-clone/output.txt+1-2
- rust-toolchain+1-1
- src/ch03-02-data-types.md+7-20
- src/ch04-01-what-is-ownership.md+2-3
- src/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.md+2-2
- src/ch07-04-bringing-paths-into-scope-with-the-use-keyword.md+4-4
- src/ch10-02-traits.md+5-5
- src/ch11-02-running-tests.md+1-1
- src/ch11-03-test-organization.md+1-1
- src/ch13-01-closures.md+3-3
- src/ch14-03-cargo-workspaces.md+2-2
- src/ch15-05-interior-mutability.md+1-1
- src/ch16-03-shared-state.md+3-1
- src/ch17-01-what-is-oo.md+2-2
- src/ch17-02-trait-objects.md+4-4
- src/ch17-03-oo-design-patterns.md+5-5
- src/ch19-03-advanced-traits.md+3-3
- src/ch19-04-advanced-types.md+1-1
- src/ch19-05-advanced-functions-and-closures.md+1-1
- src/ch19-06-macros.md+2-2
- src/ch20-02-multithreaded.md+2-2
- src/title-page.md+1-1
- tools/update-rustc.sh+7-10
Submodule embedded-book updated 1 file
- src/SUMMARY.md-6
- src/arc-and-mutex.md+1-1
- src/arc-base.md-136
- src/arc-clone.md-94
- src/arc-drop.md-98
- src/arc-final.md-82
- src/arc-layout.md-70
- src/arc.md-13
- src/exotic-sizes.md+1-1
- src/vec-alloc.md+23-19
- src/vec-dealloc.md+5-4
- src/vec-drain.md+3-3
- src/vec-final.md+5-5
- src/vec-insert-remove.md+6-6
- src/vec-into-iter.md+10-9
- src/vec-layout.md+12-3
- src/vec-push-pop.md+2-2
- src/vec-raw.md+20-23
- src/vec-zsts.md+17-21
- .github/workflows/main.yml+1-1
- src/SUMMARY.md+3-9
- src/abi.md-3
- src/attributes.md+5-6
- src/behavior-not-considered-unsafe.md-17
- src/const_eval.md-2
- src/crates-and-source-files.md+26-16
- src/expressions.md+6-57
- src/expressions/array-expr.md+15-32
- src/expressions/operator-expr.md+44-112
- src/glossary.md-60
- src/items/associated-items.md+24-17
- src/items/constant-items.md+1-4
- src/items/enumerations.md+2-2
- src/items/extern-crates.md+41-23
- src/items/external-blocks.md+27-12
- src/items/functions.md+10-51
- src/items/generics.md+22-217
- src/items/implementations.md+31-94
- src/items/modules.md+13-18
- src/items/static-items.md+1-5
- src/items/structs.md+3-3
- src/items/traits.md+53-26
- src/items/type-aliases.md+5-9
- src/items/unions.md+2-2
- src/items/use-declarations.md+1-1
- src/keywords.md+2-4
- src/linkage.md+1-1
- src/macros-by-example.md+1-2
- src/macros.md+1-1
- src/names.md-143
- src/names/name-resolution.md-3
- src/names/namespaces.md-158
- src/names/preludes.md-157
- src/names/scopes.md-3
- src/paths.md+16-23
- src/tokens.md+3-3
- src/types/enum.md+1-1
- src/types/function-pointer.md+2-5
- src/types/struct.md+1-1
- src/types/tuple.md-1
Submodule llvm-project updated 190 files
0 commit comments