This repository was archived by the owner on May 28, 2025. It is now read-only.
forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit 2406961
authored
Unrolled build for rust-lang#134367
Rollup merge of rust-lang#134367 - WaffleLapkin:trait_upcasting_as_a_treat, r=compiler-errors
Stabilize `feature(trait_upcasting)`
This feature was "done" for a while now, I think it's finally time to stabilize it! Stabilization report: rust-lang#134367 (comment).
cc reference PR: rust-lang/reference#1622.
Closes rust-lang#65991 (tracking issue), closes rust-lang#89460 (the lint is no longer future incompat).
r? compiler-errorsFile tree
94 files changed
+140
-479
lines changed- compiler
- rustc_feature/src
- rustc_hir_typeck/src
- rustc_lint/src
- rustc_middle/src
- rustc_trait_selection/src/traits/select
- rustc_type_ir/src/solve
- library/coretests/tests
- src
- doc/unstable-book/src/language-features
- tools/miri
- src
- tests
- fail
- pass
- tests
- codegen
- crashes
- ui
- codegen
- dyn-star
- feature-gates
- impl-trait
- sanitizer/cfi
- traits
- next-solver
- normalize
- trait-upcasting
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
94 files changed
+140
-479
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
400 | 400 |
| |
401 | 401 |
| |
402 | 402 |
| |
403 | + | ||
404 | + | ||
405 | + | ||
403 | 406 |
| |
404 | 407 |
| |
405 | 408 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
634 | 634 |
| |
635 | 635 |
| |
636 | 636 |
| |
637 | - | ||
638 | - | ||
639 | - | ||
640 | 637 |
| |
641 | 638 |
| |
642 | 639 |
| |
|
Lines changed: 0 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
605 | 605 |
| |
606 | 606 |
| |
607 | 607 |
| |
608 | - | ||
609 | 608 |
| |
610 | 609 |
| |
611 | 610 |
| |
| |||
690 | 689 |
| |
691 | 690 |
| |
692 | 691 |
| |
693 | - | ||
694 | - | ||
695 | - | ||
696 | - | ||
697 | - | ||
698 | - | ||
699 | - | ||
700 | 692 |
| |
701 | 693 |
| |
702 | 694 |
| |
| |||
707 | 699 |
| |
708 | 700 |
| |
709 | 701 |
| |
710 | - | ||
711 | - | ||
712 | - | ||
713 | - | ||
714 | - | ||
715 | - | ||
716 | - | ||
717 | - | ||
718 | - | ||
719 | - | ||
720 | - | ||
721 | - | ||
722 | - | ||
723 | - | ||
724 | - | ||
725 | 702 |
| |
726 | 703 |
| |
727 | 704 |
| |
|
Lines changed: 12 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | - | ||
4 | 3 |
| |
5 | 4 |
| |
6 | 5 |
| |
| |||
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
12 | - | ||
13 | - | ||
11 | + | ||
12 | + | ||
14 | 13 |
| |
15 | - | ||
16 | - | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | - | ||
47 | - | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
48 | 51 |
| |
49 | - | ||
50 | - | ||
51 | - | ||
52 | - | ||
53 | - | ||
54 | - | ||
52 | + | ||
53 | + | ||
55 | 54 |
| |
56 | 55 |
| |
57 | 56 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | + | ||
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
| |||
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
35 | - | ||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | + | ||
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
| |||
56 | 57 |
| |
57 | 58 |
| |
58 | 59 |
| |
59 | - | ||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
|
Lines changed: 1 addition & 62 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | - | ||
16 | - | ||
17 | - | ||
15 | + | ||
18 | 16 |
| |
19 | 17 |
| |
20 | 18 |
| |
| |||
23 | 21 |
| |
24 | 22 |
| |
25 | 23 |
| |
26 | - | ||
27 | - | ||
28 | 24 |
| |
29 | 25 |
| |
30 | 26 |
| |
| |||
904 | 900 |
| |
905 | 901 |
| |
906 | 902 |
| |
907 | - | ||
908 | - | ||
909 | - | ||
910 | - | ||
911 | - | ||
912 | - | ||
913 | - | ||
914 | - | ||
915 | - | ||
916 | - | ||
917 | - | ||
918 | - | ||
919 | - | ||
920 | - | ||
921 | - | ||
922 | - | ||
923 | - | ||
924 | - | ||
925 | - | ||
926 | - | ||
927 | - | ||
928 | - | ||
929 | - | ||
930 | - | ||
931 | - | ||
932 | - | ||
933 | - | ||
934 | - | ||
935 | - | ||
936 | - | ||
937 | - | ||
938 | - | ||
939 | - | ||
940 | - | ||
941 | - | ||
942 | - | ||
943 | - | ||
944 | - | ||
945 | - | ||
946 | - | ||
947 | - | ||
948 | - | ||
949 | - | ||
950 | - | ||
951 | - | ||
952 | - | ||
953 | - | ||
954 | - | ||
955 | 903 |
| |
956 | 904 |
| |
957 | 905 |
| |
| |||
1019 | 967 |
| |
1020 | 968 |
| |
1021 | 969 |
| |
1022 | - | ||
1023 | - | ||
1024 | - | ||
1025 | - | ||
1026 | - | ||
1027 | - | ||
1028 | - | ||
1029 | - | ||
1030 | - | ||
1031 | 970 |
| |
1032 | 971 |
| |
1033 | 972 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
179 | 179 |
| |
180 | 180 |
| |
181 | 181 |
| |
182 | - | ||
183 | - | ||
184 | - | ||
182 | + | ||
185 | 183 |
| |
186 | 184 |
| |
187 | 185 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 | - | ||
85 | 84 |
| |
86 | 85 |
| |
87 | 86 |
| |
|
Lines changed: 0 additions & 26 deletions
This file was deleted.
0 commit comments