mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 10:07: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 |