Skip to content

Commit 62a5610

Browse files
committed
Don't generate DefIds for impl trait in trait methods
1 parent 9eb7561 commit 62a5610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/hir/lowering.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3142,7 +3142,7 @@ impl<'a> LoweringContext<'a> {
31423142
self.lower_impl_trait_ids(decl, &mut ids);
31433143
ids
31443144
},
3145-
ItemKind::Impl(.., ref items) => {
3145+
ItemKind::Impl(.., None, _, ref items) => {
31463146
let mut ids = SmallVector::one(hir::ItemId { id: i.id });
31473147
for item in items {
31483148
if let ImplItemKind::Method(ref sig, _) = item.node {

0 commit comments

Comments
 (0)