rust-clippy/clippy_lints/src/utils
bors c6cc07a851 Auto merge of #5452 - phansch:match_def_path_refactor, r=matthiaskrgr
Refactor: Use rustc's `match_def_path`

This replaces our match_def_path implementation with the rustc one.

Note that we can't just use it in all call sites because of the
`&[&str]` / `&[Symbol]` difference in Clippy/rustc.

changelog: none
2020-04-15 05:42:52 +00:00
..
attrs.rs Cleanup: Use rustc's is_proc_macro_attr 2020-04-13 09:33:00 +02:00
author.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
camel_case.rs new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
comparisons.rs Rustup to rust-lang/rust#67886 2020-01-07 01:46:33 +09:00
conf.rs nursery group -> style 2020-03-23 16:45:31 +00:00
constants.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
diagnostics.rs Use assoc const NAN for zero_div_zero lint 2020-04-08 00:43:27 +02:00
higher.rs Rustup to rust-lang/rust#70632 2020-04-01 20:14:05 +02:00
hir_utils.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
inspector.rs remove redundant import 2020-03-27 20:47:34 +01:00
internal_lints.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
mod.rs Refactor: Use rustc's match_def_path 2020-04-15 07:23:13 +02:00
numeric_literal.rs nursery group -> style 2020-03-23 16:45:31 +00:00
paths.rs Make use of some existing diagnostic items 2020-04-12 13:58:04 +02:00
ptr.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
sugg.rs rustup https://github.com/rust-lang/rust/pull/68404 2020-03-27 20:41:53 +01:00
sym.rs Rustup to https://github.com/rust-lang/rust/pull/67853 2020-01-04 11:30:03 +01:00
usage.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00