mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 00:49:30 +00:00
0031f69999
Do not fire `panic` in a constant environment Let rustc handle panics in constant environments. Since https://github.com/rust-lang/rust-clippy/issues/8348 I thought that such modification would require a lot of work but thanks to https://github.com/rust-lang/rust-clippy/pull/8588 I now know that it is not the case. changelog: [`panic`]: No longer lint in constant context. `rustc` already handles this. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |