Skip to content

combine: stop eagerly evaluating consts#81351

Merged
bors merged 2 commits intorust-lang:masterfrom
lcnr:big-money-big-prices
Mar 27, 2021
Merged

combine: stop eagerly evaluating consts#81351
bors merged 2 commits intorust-lang:masterfrom
lcnr:big-money-big-prices

Conversation

@lcnr
Copy link
Contributor

@lcnr lcnr commented Jan 24, 2021

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 😆

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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-const-generics Area: const generics (parameters and arguments) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants