mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 02:23:19 +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 |