You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Uninferred types/regions ICE for array impl with const generics #60744
Activity
varkor commentedon May 11, 2019
produces the same error, but used to produce a different one from the other snippet, so it's also worth including as a test case.
Aloso commentedon May 22, 2019
This isn't specific to arrays. Here's another example:
Compiler output:
I noticed that it works correctly if I replace
rustc 1.36.0-nightly (50a0def 2019-05-21) running on x86_64-unknown-linux-gnu
varkor commentedon May 22, 2019
I've added a few test cases in #60742, so this should be fixed after that's merged.
Rollup merge of rust-lang#60742 - varkor:fn-const-array-parameter, r=…
Rollup merge of rust-lang#60742 - varkor:fn-const-array-parameter, r=…