Description
wildcard_imports's allowed-wildcard-imports is currently a list of path segments, but one cannot match more than one path segment in the same path. In turn, that means one may need to allow more than needed.
For instance, a project may want to allow error::code::*, but not everything with error or code in the name:
allowed-wildcard-imports = [
"error::code",
]
Version
Additional Labels
@rustbot label +C-enhancement