-
Notifications
You must be signed in to change notification settings - Fork 882
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
add recursive settings and clean up test whitelist #4142
add recursive settings and clean up test whitelist #4142
Commits on Apr 27, 2020
-
add recursive mode and clean up whitelist where we can
bradleypmartin committedApr 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 60ed5e9 - Browse repository at this point
Copy the full SHA 60ed5e9View commit details
Commits on Apr 28, 2020
-
move recursive setting to top of lib.rs files
bradleypmartin committedApr 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 3f40a9e - Browse repository at this point
Copy the full SHA 3f40a9eView commit details -
rustfmt-core/rustfmt-lib/src/test/mod.rs : revert skipped files
bradleypmartin committedApr 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 009421c - Browse repository at this point
Copy the full SHA 009421cView commit details
Commits on May 25, 2020
-
Merge branch 'master' into bradleypmartin-test-recursive-mode
bradleypmartin committedMay 25, 2020 Configuration menu - View commit details
-
Copy full SHA for fa3395d - Browse repository at this point
Copy the full SHA fa3395dView commit details -
add recursive mode and clean up whitelist where we can
bradleypmartin committedMay 25, 2020 Configuration menu - View commit details
-
Copy full SHA for ddd5c6e - Browse repository at this point
Copy the full SHA ddd5c6eView commit details -
move recursive setting to top of lib.rs files
bradleypmartin committedMay 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 278a4f1 - Browse repository at this point
Copy the full SHA 278a4f1View commit details -
rustfmt-core/rustfmt-lib/src/test/mod.rs : revert skipped files
bradleypmartin committedMay 25, 2020 Configuration menu - View commit details
-
Copy full SHA for f0cce5b - Browse repository at this point
Copy the full SHA f0cce5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 010c678 - Browse repository at this point
Copy the full SHA 010c678View commit details -
Configuration menu - View commit details
-
Copy full SHA for 759aaf7 - Browse repository at this point
Copy the full SHA 759aaf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58c6c79 - Browse repository at this point
Copy the full SHA 58c6c79View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce8493a - Browse repository at this point
Copy the full SHA ce8493aView commit details -
Servo has used this since forever, and it'd be useful to be able to use rustfmt stable there so that we can use the same rustfmt version in both Firefox and Servo. Feel free to close this if there's any reason it shouldn't be done. Closes rust-lang#3368
Configuration menu - View commit details
-
Copy full SHA for 445f71e - Browse repository at this point
Copy the full SHA 445f71eView commit details -
Preserve and format type aliases in extern blocks
Previously, non-trivial type aliases in extern blocks were dropped by rustfmt because only the type alias name would be passed to a rewritter. This commit fixes that by passing all type information (generics, bounds, and assignments) to a type alias rewritter, and consolidates `rewrite_type_alias` and `rewrite_associated_type` as one function. Closes rust-lang#4159
Configuration menu - View commit details
-
Copy full SHA for 5524752 - Browse repository at this point
Copy the full SHA 5524752View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d66e73 - Browse repository at this point
Copy the full SHA 8d66e73View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc5fb24 - Browse repository at this point
Copy the full SHA dc5fb24View commit details -
Compare code block line indentation with config whitespace (rust-lang…
…#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
Configuration menu - View commit details
-
Copy full SHA for e086436 - Browse repository at this point
Copy the full SHA e086436View commit details -
Exclude code block delimiters when wrapping comments (rust-lang#4165)
* Exclude code block delimiters when wrapping comments Closes rust-lang#4158 * fixup! Exclude code block delimiters when wrapping comments
Configuration menu - View commit details
-
Copy full SHA for a98b1cd - Browse repository at this point
Copy the full SHA a98b1cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6af9fed - Browse repository at this point
Copy the full SHA 6af9fedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04fdc7a - Browse repository at this point
Copy the full SHA 04fdc7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for db9962a - Browse repository at this point
Copy the full SHA db9962aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ef90d1 - Browse repository at this point
Copy the full SHA 8ef90d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6509fe - Browse repository at this point
Copy the full SHA a6509feView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6d5aea - Browse repository at this point
Copy the full SHA e6d5aeaView commit details -
Properly align comments in unicode lines
For an end user, the number of characters in a string is most likely interpreted as the number of [grapheme cluster](http://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries)s in the string, which may be different than either the number of unicode codepoints or bytes. Use the number of graphemes to determine list comment alignment rather than the byte length of the line. Closes rust-lang#4151
Configuration menu - View commit details
-
Copy full SHA for a5232a2 - Browse repository at this point
Copy the full SHA a5232a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e81d184 - Browse repository at this point
Copy the full SHA e81d184View commit details -
Remove spaces added by comment opener when creating itemized block
I'm not sure there's a better way to do this without a larger refactor of this method. Closes rust-lang#4104
Configuration menu - View commit details
-
Copy full SHA for e7af9c1 - Browse repository at this point
Copy the full SHA e7af9c1View commit details -
Exclude where kw from comment following fn return type (rust-lang#4175)
rustfmt tries to preserve the comment between a fn return type and the start of the fn body if there are no where clauses following the return type. However, even if there are no where clauses present, the "where" keyword may be. To elide the "where" keyword in this context, just get the comment snippet starting after the where clause span, which always includes the "where" keyword if present. Closes rust-lang#4001
Configuration menu - View commit details
-
Copy full SHA for 02e740d - Browse repository at this point
Copy the full SHA 02e740dView commit details -
Stabilize match_block_trailing_comma. (rust-lang#4145)
Servo has used this since forever, and it'd be useful to be able to use rustfmt stable there so that we can use the same rustfmt version in both Firefox and Servo. Feel free to close this if there's any reason it shouldn't be done. Closes rust-lang#3380
Configuration menu - View commit details
-
Copy full SHA for 2ade088 - Browse repository at this point
Copy the full SHA 2ade088View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c06692 - Browse repository at this point
Copy the full SHA 1c06692View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4343c4f - Browse repository at this point
Copy the full SHA 4343c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a79fca - Browse repository at this point
Copy the full SHA 9a79fcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9c5fe1 - Browse repository at this point
Copy the full SHA b9c5fe1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 474ca53 - Browse repository at this point
Copy the full SHA 474ca53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f5c9d1 - Browse repository at this point
Copy the full SHA 5f5c9d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b05a902 - Browse repository at this point
Copy the full SHA b05a902View commit details -
Configuration menu - View commit details
-
Copy full SHA for d261e9c - Browse repository at this point
Copy the full SHA d261e9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd2e0ca - Browse repository at this point
Copy the full SHA dd2e0caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 975c19d - Browse repository at this point
Copy the full SHA 975c19dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 100068d - Browse repository at this point
Copy the full SHA 100068dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9f7064 - Browse repository at this point
Copy the full SHA d9f7064View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69f6b76 - Browse repository at this point
Copy the full SHA 69f6b76View commit details -
Configuration menu - View commit details
-
Copy full SHA for b68f06b - Browse repository at this point
Copy the full SHA b68f06bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 991ab17 - Browse repository at this point
Copy the full SHA 991ab17View commit details -
Preserve comments in empty statements (rust-lang#4180)
* Preserve comments in empty statements Closes rust-lang#4018 * fixup! Preserve comments in empty statements
Configuration menu - View commit details
-
Copy full SHA for fffc7ff - Browse repository at this point
Copy the full SHA fffc7ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 037c064 - Browse repository at this point
Copy the full SHA 037c064View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25d5f9f - Browse repository at this point
Copy the full SHA 25d5f9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e3d5f0 - Browse repository at this point
Copy the full SHA 0e3d5f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b56a370 - Browse repository at this point
Copy the full SHA b56a370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24fa639 - Browse repository at this point
Copy the full SHA 24fa639View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b62710 - Browse repository at this point
Copy the full SHA 5b62710View commit details -
Align string type for edition (rust-lang#4197)
BO41 authored and bradleypmartin committedMay 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 20a52b7 - Browse repository at this point
Copy the full SHA 20a52b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b042b37 - Browse repository at this point
Copy the full SHA b042b37View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbf44c8 - Browse repository at this point
Copy the full SHA cbf44c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4861ef4 - Browse repository at this point
Copy the full SHA 4861ef4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35121ea - Browse repository at this point
Copy the full SHA 35121eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5936675 - Browse repository at this point
Copy the full SHA 5936675View commit details -
rust-lang#4099: trailing_comma + struct_field_align_threshold -> remo…
…ving a struct's commas (rust-lang#4201)
Configuration menu - View commit details
-
Copy full SHA for 0a45e91 - Browse repository at this point
Copy the full SHA 0a45e91View commit details -
Configuration menu - View commit details
-
Copy full SHA for b272c77 - Browse repository at this point
Copy the full SHA b272c77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 256c024 - Browse repository at this point
Copy the full SHA 256c024View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77a7f95 - Browse repository at this point
Copy the full SHA 77a7f95View commit details -
Merge branch 'bradleypmartin-test-recursive-mode' of https://github.c…
…om/bradleypmartin/rustfmt into bradleypmartin-test-recursive-mode
bradleypmartin committedMay 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 0b8341f - Browse repository at this point
Copy the full SHA 0b8341fView commit details