add test for direct-const-arg - #162301
Conversation
|
r? @chenyukang rustbot has assigned @chenyukang. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
thanks for adding this test! but it's pretty much an exact duplicate of that file was added in #160216 which states:
that linked pull is the commit linked in #159558 that fixed that issue. #160984 is also very relevant here, although not directly related to this very specific ICE! |
Ah, you're right! I only looked at #159058, so I missed the test that was added in a later PR. I'll also take a look at the other PRs you referenced. Thanks! |
close: #159558
The generic argument count was unrelated to the ICE, so I added a const argument.
cc: @khyperia