Skip to content

Commit 64c3f86

Browse files
committed
Correct condition
1 parent d1952e8 commit 64c3f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
191191
}
192192

193193
fn build_disabled_set(sess: &Session, conf: &'static Conf) -> FxHashSet<&'static str> {
194-
if sess.is_test_crate() {
194+
if !sess.is_test_crate() {
195195
return FxHashSet::default();
196196
}
197197
let disabled = conf

0 commit comments

Comments
 (0)