Skip to content

Conversation

krishna-veerareddy
Copy link
Contributor

const functions cannot have const generic parameters so prevent the
missing_const_for_fn lint from firing in that case.

changelog: Fix false positive in missing_const_for_fn

Fixes #5192

`const` functions cannot have const generic parameters so prevent the
`missing_const_for_fn` lint from firing in that case.
@flip1995
Copy link
Member

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Feb 22, 2020

📌 Commit 0490798 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Feb 22, 2020

⌛ Testing commit 0490798 with merge 7e49122...

@bors
Copy link
Contributor

bors commented Feb 22, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 7e49122 to master...

@bors bors merged commit 7e49122 into rust-lang:master Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False Suggestion for const fn
3 participants