mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
bd9ad6b0a0
`lookup_project_file` could erroneously find a *directory* named `rustmfmt.toml` if there was one in its lookup path, and so ignore any configuration file it should have found further up. The error handling resulted in this silently using the default configuration.