-
Notifications
You must be signed in to change notification settings - Fork 924
cargo-fmt in (virtual) workspace member directories fails #2694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That still happen, quite annoying. |
|
I think we have two problems here:
I’m using rustfmt 1.0.1-nightly (be13559 2018-12-10), the build that comes from the rustfmt component on the nightly toolchain. (It is entirely coincidental that I am posting an hour after @jakoschiko; I just attempted to run |
@chris-morgan @jakoschiko @Stargateur Can someone on Windows please check whether it is still a problem, after PR #3569 has been merged? |
|
@jakoschiko Ok, thank you! It looks like this problem with This error comes from The only suspicious thing I see there is that if in_workspace_root || PathBuf::from(&package.manifest_path) == current_dir_manifest { Can it be that? Can we canonicalize it and check if it helps? Or at least print some debug info in that function? Thank you! |
@sphynx |
/Cargo.toml
/member/Cargo.toml
/member/src/lib.rs
(I'm sorry)
Run
>cargo fmt --version rustfmt 0.6.1-nightly (5dba81bb 2018-05-09)
The text was updated successfully, but these errors were encountered: