about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui-toml/toml_invalid_path/clippy.toml
blob: 997ed47b71cb6b87965a06d8e36db5e4a515bdb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[[disallowed-macros]]
path = "bool"

[[disallowed-methods]]
path = "std::process::current_exe"

[[disallowed-methods]]
path = ""

[[disallowed-types]]
path = "std::result::Result::Err"

# negative test

[[disallowed-methods]]
path = "std::current_exe"
allow-invalid = true