mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
049079856b
`const` functions cannot have const generic parameters so prevent the `missing_const_for_fn` lint from firing in that case. |
||
---|---|---|
.. | ||
cant_be_const.rs | ||
cant_be_const.stderr | ||
could_be_const.rs | ||
could_be_const.stderr |