about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-03-04 12:55:07 +0000
committerGitHub <noreply@github.com>2022-03-04 12:55:07 +0000
commitf8329ba98731a939fe2c6eb878778a6399274ff0 (patch)
tree8c78044e5bc27fe0e7fd5e22a366dbcc7c53a2f2 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent9d473a0b9f92c0739e4635fa8ef95a91ac2a481d (diff)
parent660fd4ab415e9543e4d677622aba309ca716ca12 (diff)
downloadrust-f8329ba98731a939fe2c6eb878778a6399274ff0.tar.gz
rust-f8329ba98731a939fe2c6eb878778a6399274ff0.zip
Merge #11140
11140: Preserve order of generic args r=HKalbasi a=HKalbasi

https://github.com/rust-lang/rust/pull/90207 removed order restriction of generic args, i.e. const generics can now become before of type generics. We need to preserve this order to analyze correctly, and this PR does that.

It also simplifies implementation of const generics a bit IMO.

Implementing default generics the same problem of #7434, we need lower them to body and then evaluate them.


Co-authored-by: hkalbasi <hamidrezakalbasi@protonmail.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions