rust/clippy_config
Samuel Tardieu da6a05977d {expect,unwrap}_used: add options to lint at compilation time
By default, do not lint `.unwrap()` and `.expect(…)` in always const
contexts, as a failure would be detected at compile time anyway.

New options `allow_expect_in_consts` and `allow_unwrap_in_consts`,
defaulting to `true`, can be turned unset to still lint in always const
contexts.
2025-02-11 22:14:52 +01:00
..
src {expect,unwrap}_used: add options to lint at compilation time 2025-02-11 22:14:52 +01:00
Cargo.toml Select edition 2024 2025-01-13 16:55:42 +01:00