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"
58
58
rustc_tools_util = " 0.3.0"
59
59
60
60
[features ]
61
- deny-warnings = [" clippy_lints/deny-warnings" , " internal " ]
61
+ deny-warnings = [" clippy_lints/deny-warnings" ]
62
62
integration = [" tempfile" ]
63
63
internal = [" clippy_lints/internal" , " tempfile" ]
64
64
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ pub struct MetadataCollector {
148
148
}
149
149
150
150
impl MetadataCollector {
151
+ #[ cfg( feature = "internal" ) ]
151
152
pub fn new ( ) -> Self {
152
153
Self {
153
154
lints : BinaryHeap :: < LintMetadata > :: default ( ) ,
@@ -578,6 +579,7 @@ impl ClippyConfiguration {
578
579
}
579
580
}
580
581
582
+ #[ cfg( feature = "internal" ) ]
581
583
fn collect_configs ( ) -> Vec < ClippyConfiguration > {
582
584
crate :: utils:: conf:: metadata:: get_configuration_metadata ( )
583
585
}
You can’t perform that action at this time.
0 commit comments