]> git.lizzy.rs Git - rust.git/blobdiff - src/etc/check_missing_items.py
`generic_arg_contains_target`: ignore closures
[rust.git] / src / etc / check_missing_items.py
index 89696f392621b60d8601403499b53b7bf5a09f16..343dd0387f47987c011c2334c80f0c8d0f914ea4 100644 (file)
@@ -49,8 +49,6 @@ def check_generic_param(param):
         ty = param["kind"]["type"]
         if ty["default"]:
             check_type(ty["default"])
-        for bound in ty["bounds"]:
-            check_generic_bound(bound)
     elif "const" in param["kind"]:
         check_type(param["kind"]["const"])