1
Fork 0

Introduce OwnerNode::Crate.

This commit is contained in:
Camille GILLOT 2021-07-25 12:03:24 +02:00
parent 36a28060f1
commit fee421685d
17 changed files with 69 additions and 65 deletions

View file

@ -227,7 +227,7 @@ impl ExternalCrate {
if root.is_local() {
tcx.hir()
.krate()
.item
.module()
.item_ids
.iter()
.filter_map(|&id| {
@ -293,7 +293,7 @@ impl ExternalCrate {
if root.is_local() {
tcx.hir()
.krate()
.item
.module()
.item_ids
.iter()
.filter_map(|&id| {