mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-24 20:13:24 +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 |