]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #63153 - varkor:remove-resolve_const_var, r=cramertj
authorMazdak Farrokhzad <twingoow@gmail.com>
Fri, 2 Aug 2019 10:14:17 +0000 (12:14 +0200)
committerGitHub <noreply@github.com>
Fri, 2 Aug 2019 10:14:17 +0000 (12:14 +0200)
commit5155c7ea688b4025f4d25233e0f8353f51107269
treec3d16929aa4ae2d46bc61fd64f4e4d3e8fe4c547
parent51dc78e4cce65de98ead91799d05372ce25cba2a
parent87e73c1f8288823e689ca254cdee9ab6c1723154
Rollup merge of #63153 - varkor:remove-resolve_const_var, r=cramertj

Remove redundant method with const variable resolution

I've also removed a `bug!()` in const value relation code and replaced it with a `FIXME`. Now `ConstValue::Slice` and `ConstValue::ByRef` will simply fail to unify rather than ICEing, which seems more user-friendly for testers.