-
Notifications
You must be signed in to change notification settings - Fork 898
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
Extra indentation in macro_rules! #4152
Labels
Comments
I have this issue when |
calebcartwright
added
a-macros
only-with-option
requires a non-default option value to reproduce
labels
May 1, 2020
ayazhafiz
added a commit
to ayazhafiz/rustfmt
that referenced
this issue
May 10, 2020
Previously the indetation of a line was compared with the configured number of spaces per tab, which could cause lines that were formatted with hard tabs not to be recognized as indented ("\t".len() < " ".len()). Closes rust-lang#4152
topecongiro
pushed a commit
that referenced
this issue
May 10, 2020
Previously the indetation of a line was compared with the configured number of spaces per tab, which could cause lines that were formatted with hard tabs not to be recognized as indented ("\t".len() < " ".len()). Closes #4152
bradleypmartin
pushed a commit
to bradleypmartin/rustfmt
that referenced
this issue
May 25, 2020
…#4166) Previously the indetation of a line was compared with the configured number of spaces per tab, which could cause lines that were formatted with hard tabs not to be recognized as indented ("\t".len() < " ".len()). Closes rust-lang#4152
calebcartwright
pushed a commit
to calebcartwright/rustfmt
that referenced
this issue
Nov 29, 2020
…#4166) Previously the indetation of a line was compared with the configured number of spaces per tab, which could cause lines that were formatted with hard tabs not to be recognized as indented ("\t".len() < " ".len()). Closes rust-lang#4152
calebcartwright
pushed a commit
that referenced
this issue
Nov 29, 2020
Previously the indetation of a line was compared with the configured number of spaces per tab, which could cause lines that were formatted with hard tabs not to be recognized as indented ("\t".len() < " ".len()). Closes #4152
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rustfmt 1.4.12-stable (a828ffe 2020-03-11)
For example, this:
Formatted into:
The text was updated successfully, but these errors were encountered: