mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 06:47:34 +00:00
check_missing_items.py: Check imports
This commit is contained in:
parent
8050c1993b
commit
891ebf90a5
@ -187,3 +187,9 @@ while work_list:
|
||||
check_generic_bound(bound)
|
||||
if item["inner"]["default"]:
|
||||
check_type(item["inner"]["default"])
|
||||
elif item["kind"] == "import":
|
||||
if item["inner"]["id"]:
|
||||
inner_id = item["inner"]["id"]
|
||||
assert valid_id(inner_id)
|
||||
if inner_id in crate["index"] and inner_id not in visited:
|
||||
work_list.add(inner_id)
|
||||
|
Loading…
Reference in New Issue
Block a user