]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui-toml/toml_disallowed_method/clippy.toml
Rollup merge of #89929 - yuvaldolev:handle-submodule-checkout-more-gracefully, r...
[rust.git] / src / tools / clippy / tests / ui-toml / toml_disallowed_method / clippy.toml
1 disallowed-methods = [
2     # just a string is shorthand for path only
3     "std::iter::Iterator::sum",
4     # can give path and reason with an inline table
5     { path = "regex::Regex::is_match", reason = "no matching allowed" },
6     # can use an inline table but omit reason
7     { path = "regex::Regex::new" },
8 ]