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
# This file is automatically @generated by Cargo.# It is not intended for manual editing.
It would be convenient if the schema.rs generated by diesel_cli included this text in a comment at the top of the file so that rustfmt will skip it, avoiding churn/manually reverting the changes made by cargo fmt.
Checklist
I have already looked over the issue tracker for similar issues.
This issue can be reproduced on Rust's stable channel.
The text was updated successfully, but these errors were encountered:
A feature was recently merged into
rustfmt
that makes it aware of@generated
. This is an informal convention that tools can use to recognise generated files. This issue in the rustfmt repo discusses other tools that include or recoginse@generated
. Notably Cargo includes it in a comment at the top ofCargo.lock
:It would be convenient if the
schema.rs
generated bydiesel_cli
included this text in a comment at the top of the file so thatrustfmt
will skip it, avoiding churn/manually reverting the changes made bycargo fmt
.Checklist
The text was updated successfully, but these errors were encountered: