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.
1 parent 8aeaaac commit 13809ffCopy full SHA for 13809ff
src/librustc/middle/ty.rs
@@ -3222,13 +3222,12 @@ impl<'tcx> TraitDef<'tcx> {
3222
for &impl_def_id in impls {
3223
f(impl_def_id);
3224
}
3225
- return; // we don't need to process the other non-blanket impls
3226
3227
- }
3228
-
3229
- for v in self.nonblanket_impls.borrow().values() {
3230
- for &impl_def_id in v {
3231
- f(impl_def_id);
+ } else {
+ for v in self.nonblanket_impls.borrow().values() {
+ for &impl_def_id in v {
+ f(impl_def_id);
+ }
3232
3233
3234
0 commit comments