rust/tests/ui-toml/expect_used
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
..
clippy.toml {expect,unwrap}_used: add options to lint at compilation time 2025-02-11 22:14:52 +01:00
expect_used.rs {expect,unwrap}_used: add options to lint at compilation time 2025-02-11 22:14:52 +01:00
expect_used.stderr {expect,unwrap}_used: add options to lint at compilation time 2025-02-11 22:14:52 +01:00