rust/tests
bors ea079eb8a4 Auto merge of #6081 - ilknarf:master, r=matthiaskrgr
New Lint: disallowed_method

Fixes https://github.com/rust-lang/rust-clippy/issues/6073

I added a `disallowed_method` lint that works similar to `blacklisted_name`, e.g allows config-defined disallowed method calls.

This lint allows advanced users to patch in undesired method calls for specific projects. It basically uses the DefId of method calls and matches it to parsed strings. Is there an alternative approach that could use more easily digestible configuration strings?

All tests pass as expected except for a linting error on `ui/redundant_pattern_matching_option`, which I am not sure how to resolve since I don't think I changed anything affecting it.

changelog: Add disallowed_method lint to warn on user-defined method calls
2020-09-26 20:55:53 +00:00
..
auxiliary
cargo
ui Auto merge of #6079 - giraffate:print_stdout_in_build_rs, r=ebroto 2020-09-26 20:34:35 +00:00
ui-cargo
ui-toml update error message, refactor disallowed_method 2020-09-25 11:09:04 -05:00
compile-test.rs Add emit=metadata to UI tests build flags 2020-09-25 15:20:04 +02:00
dogfood.rs
fmt.rs Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup 2020-08-28 18:43:25 +02:00
integration.rs
missing-test-files.rs
versioncheck.rs