Commit f6faa05
authored
Rollup merge of rust-lang#156325 - cijiugechu:generics-transmutefrom, r=BoxyUwU
Don't treat const param default as projection
Avoid treating const param default as associated const projection.
Closes rust-lang#1562932 files changed
Lines changed: 14 additions & 1 deletion
File tree
- compiler/rustc_trait_selection/src/traits
- tests/ui/traits/associated_type_bound
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
870 | | - | |
| 870 | + | |
| 871 | + | |
871 | 872 | | |
872 | 873 | | |
873 | 874 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments