diff options
| author | xFrednet <xFrednet@gmail.com> | 2021-02-28 16:11:45 +0100 |
|---|---|---|
| committer | xFrednet <xFrednet@gmail.com> | 2021-05-05 18:35:33 +0200 |
| commit | 6658db1044bbd19e70bfbf1b74b39bd16d3c4a2c (patch) | |
| tree | 7fc73531af1e91b404472da5bfe589dbeb6c08e5 /clippy_utils/src | |
| parent | 5830fa7c6064480863d1f90513c0c9b05630a9d3 (diff) | |
| download | rust-6658db1044bbd19e70bfbf1b74b39bd16d3c4a2c.tar.gz rust-6658db1044bbd19e70bfbf1b74b39bd16d3c4a2c.zip | |
Metadata collection: processing emission closures (417/455)
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 46f58b788e6..a6292b87768 100644 --- a/clippy_utils/src/paths.rs +++ b/clippy_utils/src/paths.rs @@ -14,6 +14,8 @@ pub const APPLICABILITY_VALUES: [[&str; 3]; 4] = [ ["rustc_lint_defs", "Applicability", "HasPlaceholders"], ["rustc_lint_defs", "Applicability", "Unspecified"], ]; +#[cfg(feature = "metadata-collector-lint")] +pub const DIAGNOSTIC_BUILDER: [&str; 3] = ["rustc_errors", "diagnostic_builder", "DiagnosticBuilder"]; 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"]; |
