Skip to content

Commit a9b6af9

Browse files
committed
double neg
1 parent 649b632 commit a9b6af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/astconv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
17531753
potential_assoc_types: Vec<Span>,
17541754
trait_bounds: &[hir::PolyTraitRef<'_>],
17551755
) {
1756-
if !associated_types.values().any(|v| !v.is_empty()) {
1756+
if associated_types.values().all(|v| v.is_empty()) {
17571757
return;
17581758
}
17591759
let tcx = self.tcx();

0 commit comments

Comments
 (0)