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
Could you elaborate on what exactly you think the bug is here? The absence of the ^ expected where, {, (, or ; after struct name error details or something else?
pub struct S is invalid syntax, so an unrecoverable error encountered by the rustc parser is expected.
No worries, thanks for clarifying. I'll double check our parsing/rustc parser code later on, it's entirely possible we're intercepting an error that we need to emit ourselves, but aren't.
Describe the bug
rustfmt
returnsTo Reproduce
src/main.rs
:src/error.rs
:Meta
rustfmt 1.4.21-nightly (01f2eadc 2020-09-04)
rustup
cargo fmt
The text was updated successfully, but these errors were encountered: