Skip to content

Commit 8104bc4

Browse files
committed
wip
1 parent 89ecf8f commit 8104bc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc/hir/map/collector.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,9 @@ impl<'a, 'hir> NodeCollector<'a, 'hir> {
259259
});
260260

261261
if i == 0 {
262-
assert!(self.owner_map.insert(id.owner, self.arena.alloc(owner)).is_none());
262+
self.owner_map.insert(id.owner, self.arena.alloc(owner));
263+
// FIXME: feature(impl_trait_in_bindings) broken and trigger this assert
264+
//assert!(self.owner_map.insert(id.owner, self.arena.alloc(owner)).is_none());
263265
} else {
264266
let len = items.items.len();
265267
if i >= len {

0 commit comments

Comments
 (0)