Skip to content

Add speculative const-checking and remove qualify_min_const_fn.rs#77128

Closed
ecstatic-morse wants to merge 7 commits intorust-lang:masterfrom
ecstatic-morse:remove-qualify-min-const-fn
Closed

Add speculative const-checking and remove qualify_min_const_fn.rs#77128
ecstatic-morse wants to merge 7 commits intorust-lang:masterfrom
ecstatic-morse:remove-qualify-min-const-fn

Conversation

@ecstatic-morse
Copy link
Copy Markdown
Contributor

@ecstatic-morse ecstatic-morse commented Sep 23, 2020

cc #76618

This removes qualify_min_const_fn.rs entirely. It remained after #76850 because it was still used for a clippy lint. To continue to support clippy, I added a speculative mode to the const-checker, which is exposed via the non_const_fn_could_be_made_stable_const_fn method.

r? @oli-obk

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

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants