double neg
This commit is contained in:
parent
649b6323cd
commit
a9b6af98d1
1 changed files with 1 additions and 1 deletions
|
@ -1753,7 +1753,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
||||||
potential_assoc_types: Vec<Span>,
|
potential_assoc_types: Vec<Span>,
|
||||||
trait_bounds: &[hir::PolyTraitRef<'_>],
|
trait_bounds: &[hir::PolyTraitRef<'_>],
|
||||||
) {
|
) {
|
||||||
if !associated_types.values().any(|v| !v.is_empty()) {
|
if associated_types.values().all(|v| v.is_empty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let tcx = self.tcx();
|
let tcx = self.tcx();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue