mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +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 |