add suppress_lint_in_const conf

This commit is contained in:
naosense 2022-11-21 14:36:56 +08:00
parent 12074808c7
commit 96f1385fdd
3 changed files with 23 additions and 3 deletions

View file

@ -406,6 +406,10 @@ define_Conf! {
///
/// Whether to allow mixed uninlined format args, e.g. `format!("{} {}", a, foo.bar)`
(allow_mixed_uninlined_format_args: bool = true),
/// Lint: SUPPRESS_LINT
///
/// Whether to suppress lint in const function
(suppress_lint_in_const: bool = true),
}
/// Search for the configuration file.