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 160cbda commit 6e09d91Copy full SHA for 6e09d91
src/librustc_typeck/collect.rs
@@ -1250,6 +1250,7 @@ fn find_existential_constraints<'a, 'tcx>(
1250
match tcx.hir.get(parent) {
1251
NodeItem(ref it) => intravisit::walk_item(&mut locator, it),
1252
NodeImplItem(ref it) => intravisit::walk_impl_item(&mut locator, it),
1253
+ NodeTraitItem(ref it) => intravisit::walk_trait_item(&mut locator, it),
1254
other => bug!("{:?} is not a valid parent of an existential type item", other),
1255
}
1256
0 commit comments