STRA-338 S12b (fix): the child module of reasoning_budget no longer shares its parent's name (clippy::module_inception)
This commit is contained in:
@@ -56,7 +56,7 @@ def process(path, target, dry_run, loaded):
|
||||
directory = child_dir(path)
|
||||
explicit = directory.name if path.name in loaded else None
|
||||
reserved = {p.stem for p in directory.glob("*.rs")} if directory.is_dir() else set()
|
||||
result = plan_split(read(path), target, explicit, reserved | {"tests"})
|
||||
result = plan_split(read(path), target, explicit, reserved | {"tests", path.stem})
|
||||
if result is None:
|
||||
return "skipped", "no fn or impl to move"
|
||||
if not dry_run:
|
||||
|
||||
Reference in New Issue
Block a user