]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.


Trivial merge