diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-03-27 20:37:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-27 20:37:04 +0100 |
| commit | 520c9a25dfc78ca1e1d198e55bb4bcb844b0791e (patch) | |
| tree | e007583c06fd7a26f8cb73a0b197993c3e289dfa /compiler/rustc_errors/src/snippet.rs | |
| parent | afaf33dcafe9c7068b63eb997df221aa08db7c29 (diff) | |
| parent | e461dddf5828d729b872e27d1a7a7335437ce413 (diff) | |
| download | rust-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/snippet.rs')
0 files changed, 0 insertions, 0 deletions
