lint suboptimal_flops' mul_add in const context - #17631
Conversation
|
Thanks for the pull request. A reviewer will take a look after it receives 2 community reviews. In the meantime, we would highly appreciate if you could try to review any of PRs waiting on community reviews. |
There was a problem hiding this comment.
I mean, yes your impl would work for the moment.
Could we make it work with less maintenance required? For example via Msrv::is_stable_or_const_stable?
The fn (or its siblings) look like the thing we likely want 🤔
The added nesting by is_in_const feels a bit improperly, not sure why..
|
It was either centralizing the check in |
changelog: [
suboptimal_flops]: lintmul_addin const context