Skip to content

new lint: find functions that can be "const fn" #2440

Closed
@matthiaskrgr

Description

@matthiaskrgr

Maybe we can automatically find simple functions that can be const fn

This was suggested during FOSDEM talk on rusts const evaluation: https://youtu.be/Zz863ksXRhA?t=1102
I didn't see a ticket about this yet so here we go.

Metadata

Metadata

Assignees

Labels

A-lintArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.L-suggestionLint: Improving, adding or fixing lint suggestionsT-MIRType: This lint will require working with the MIR

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions