about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-03-27 20:37:04 +0100
committerGitHub <noreply@github.com>2021-03-27 20:37:04 +0100
commit520c9a25dfc78ca1e1d198e55bb4bcb844b0791e (patch)
treee007583c06fd7a26f8cb73a0b197993c3e289dfa /compiler/rustc_errors/src
parentafaf33dcafe9c7068b63eb997df221aa08db7c29 (diff)
parente461dddf5828d729b872e27d1a7a7335437ce413 (diff)
downloadrust-520c9a25dfc78ca1e1d198e55bb4bcb844b0791e.tar.gz
rust-520c9a25dfc78ca1e1d198e55bb4bcb844b0791e.zip
Rollup merge of #81351 - lcnr:big-money-big-prices, r=oli-obk
combine: stop eagerly evaluating consts

`super_relate_consts` eagerly evaluates constants which doesn't seem too great.

I now also finally understand why all of the unused substs test passed. The reason being
that we just evaluated the constants in `super_relate_consts` :laughing:

While this change isn't strictly necessary as evaluating consts here doesn't hurt, it still feels a lot cleaner to do it this way

r? `@oli-obk` `@nikomatsakis`
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions