]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui-toml/toml_disallowed_methods/clippy.toml
New upstream version 1.59.0+dfsg1
[rustc.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 # 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 ]