You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this code to generate a nested module structure for files generated in a flat directory. It works when compiling but
formatting these files with cargo fmt currently doesn't work. If you know any workarounds I will appreciate!
The text was updated successfully, but these errors were encountered:
Describe the bug
Both of the following definitions confuse
rustfmt
cargo fmt
reports respectively:However
cargo build
works just fine.To Reproduce
Follow the instructions in README.md here: https://github.com./Veetaha/rustfmt-bugreport
Expected behavior
Rustfmt should finish without an error formatting all files, including those referenced via
#[path = "foo.bar.rs"]
attribute.Meta
rustfmt 1.4.16-stable (939e164 2020-06-11)
rustup
cargo fmt
I use this code to generate a nested module structure for files generated in a flat directory. It works when compiling but
formatting these files with
cargo fmt
currently doesn't work. If you know any workarounds I will appreciate!The text was updated successfully, but these errors were encountered: