File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ rustc-semver = "1.1"
5858rustc_tools_util = " 0.3.0"
5959
6060[features ]
61- deny-warnings = [" clippy_lints/deny-warnings" , " internal " ]
61+ deny-warnings = [" clippy_lints/deny-warnings" ]
6262integration = [" tempfile" ]
6363internal = [" clippy_lints/internal" , " tempfile" ]
6464
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ pub struct MetadataCollector {
148148}
149149
150150impl MetadataCollector {
151+ #[ cfg( feature = "internal" ) ]
151152 pub fn new ( ) -> Self {
152153 Self {
153154 lints : BinaryHeap :: < LintMetadata > :: default ( ) ,
@@ -578,6 +579,7 @@ impl ClippyConfiguration {
578579 }
579580}
580581
582+ #[ cfg( feature = "internal" ) ]
581583fn collect_configs ( ) -> Vec < ClippyConfiguration > {
582584 crate :: utils:: conf:: metadata:: get_configuration_metadata ( )
583585}
You can’t perform that action at this time.
0 commit comments