We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b0b6e3 + a9b6af9 commit a93cc06Copy full SHA for a93cc06
src/librustc_typeck/astconv.rs
@@ -1753,7 +1753,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
1753
potential_assoc_types: Vec<Span>,
1754
trait_bounds: &[hir::PolyTraitRef<'_>],
1755
) {
1756
- if !associated_types.values().any(|v| !v.is_empty()) {
+ if associated_types.values().all(|v| v.is_empty()) {
1757
return;
1758
}
1759
let tcx = self.tcx();
0 commit comments