-
Notifications
You must be signed in to change notification settings - Fork 996
Closed
Labels
A-parserArea: parserArea: parserC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE
Description
Describe the bug
rustfmt returns
Error writing files: failed to resolve mod `error`: cannot parse <project dir>/src/error.rs
To Reproduce
src/main.rs:
mod error;
fn main() {}src/error.rs:
pub struct S // missing semicolonMeta
- rustfmt version:
rustfmt 1.4.21-nightly (01f2eadc 2020-09-04) - From where did you install rustfmt?:
rustup - How do you run rustfmt:
cargo fmt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-parserArea: parserArea: parserC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE