]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui-toml/toml_disallowed_methods/clippy.toml
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / src / tools / clippy / tests / ui-toml / toml_disallowed_methods / clippy.toml
1 disallowed-methods = [
2     # just a string is shorthand for path only
3     "std::iter::Iterator::sum",
4     "f32::clamp",
5     "slice::sort_unstable",
6     "futures::stream::select_all",
7     # can give path and reason with an inline table
8     { path = "regex::Regex::is_match", reason = "no matching allowed" },
9     # can use an inline table but omit reason
10     { path = "regex::Regex::new" },
11     # local paths
12     "conf_disallowed_methods::local_fn",
13     "conf_disallowed_methods::local_mod::f",
14     "conf_disallowed_methods::Struct::method",
15     "conf_disallowed_methods::Trait::provided_method",
16     "conf_disallowed_methods::Trait::implemented_method",
17 ]