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-01-07 14:02:01 +0000
committerGitHub <noreply@github.com>2022-01-07 14:02:01 +0000
commitefb9b89163e4a6080f5d87133028de28cbaf310c (patch)
treec3143be3f189cdb132967d863d781710ef3bd920 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentb70493d095dd24a1b5c5721d2a1bd873444a63ec (diff)
parent0a240e31c5327cf509d335d0dfb6a5d97100ac0a (diff)
downloadrust-efb9b89163e4a6080f5d87133028de28cbaf310c.tar.gz
rust-efb9b89163e4a6080f5d87133028de28cbaf310c.zip
Merge #11220
11220: Turbo fish assist: don't include lifetime parameters r=Veykril a=Vannevelj

Fixes #11219

The issue talks about three different types of params: type, const & lifetime. I wasn't entirely sure which ones are intended to be included here so I've gone for the type & const params (i.e. exclude lifetime).

I've added a test case for both a lifetime param and a const param. I'm still making my way through the rust book (chapter 7, yay) so I'm not too sure yet what these are but my testing shows that this approach generates code that compiles.

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