diff options
| author | xFrednet <xFrednet@gmail.com> | 2021-02-14 16:17:07 +0100 |
|---|---|---|
| committer | xFrednet <xFrednet@gmail.com> | 2021-05-05 18:35:33 +0200 |
| commit | 060e0e9f9382cb7975165cede8d04b7bbe26bcb2 (patch) | |
| tree | bcdfde66c42033ff3b7bfab2ad15e2c4c217a279 /clippy_utils/src | |
| parent | 637751ff62662247480ae1641042a019d8e6609a (diff) | |
| download | rust-060e0e9f9382cb7975165cede8d04b7bbe26bcb2.tar.gz rust-060e0e9f9382cb7975165cede8d04b7bbe26bcb2.zip | |
Metadata collection lint: Basic applicability collection
Diffstat (limited to 'clippy_utils/src')
| -rw-r--r-- | clippy_utils/src/paths.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clippy_utils/src/paths.rs b/clippy_utils/src/paths.rs index 5e6733a300f..91e5cd6c046 100644 --- a/clippy_utils/src/paths.rs +++ b/clippy_utils/src/paths.rs @@ -5,6 +5,8 @@ //! See <https://github.com/rust-lang/rust-clippy/issues/5393> for more information. pub const ANY_TRAIT: [&str; 3] = ["core", "any", "Any"]; +#[cfg(feature = "metadata-collector-lint")] +pub const APPLICABILITY: [&str; 2] = ["rustc_lint_defs", "Applicability"]; pub const ARC_PTR_EQ: [&str; 4] = ["alloc", "sync", "Arc", "ptr_eq"]; pub const ASMUT_TRAIT: [&str; 3] = ["core", "convert", "AsMut"]; pub const ASREF_TRAIT: [&str; 3] = ["core", "convert", "AsRef"]; |
