Skip to content

Add initial version of const_fn lint#3648

Merged
bors merged 7 commits intorust-lang:masterfrom
phansch:const_fn_lint
Jan 29, 2019
Merged

Add initial version of const_fn lint#3648
bors merged 7 commits intorust-lang:masterfrom
phansch:const_fn_lint

Conversation

@phansch
Copy link
Contributor

@phansch phansch commented Jan 9, 2019

This adds an initial version of a lint that can tell if a function could be const.

TODO:

  • Finish up the docs
  • Fix the ICE

cc #2440

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.

4 participants