Skip to content

Rustfmt fails to resolve mod #5198

@Skgland

Description

@Skgland

Reproduction

git clone https://github.com/Skgland/scryer-prolog.git
pushd scryer-prolog
git checkout --track origin/rustfmt/issue1
cargo check # succeeds
cargo fmt --all # Error writing files: failed to resolve mod `macros`: /home/bennet/Git/tmp/scryer-prolog/src does not exist

#5167 has a similar error message but this one should not be ambiguous.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-modulesArea: module resolution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions