add suppress_lint_in_const conf
This commit is contained in:
parent
12074808c7
commit
96f1385fdd
3 changed files with 23 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue