about summary refs log tree commit diff
path: root/src
AgeCommit message (Expand)AuthorLines
2021-10-12Adjust non-empty tuple struct span to start before fieldsYacin Tmimi-1/+6
2021-10-12Prevent structs with ".." from being rewritten with alignmentYacin Tmimi-7/+4
2021-10-11Stabilize match_block_trailing_comma. (#4145)Emilio Cobos Álvarez-1/+1
2021-10-05Update derive attibute span to start after opening '('Yacin Tmimi-1/+4
2021-10-04Wrap long array and slice patterns.Patrick Walton-2/+14
2021-09-27Prevent removal of qualified path for tuple struct inside macroYacin Tmimi-2/+3
2021-09-23refactor: simplify local dep lookupsCaleb Cartwright-254/+26
2021-09-23tests: restructure and extend cargo-fmt testsCaleb Cartwright-0/+351
2021-09-20Trailing comma on match block goes missing when guard is on its own lineUlyssa-0/+1
2021-09-16refactor: use iter workaround for contains() gapCaleb Cartwright-3/+3
2021-09-16feat: add --check flag to cargo fmt (#3890)Caleb Cartwright-2/+15
2021-09-14feat: upper- or lowercase hexadecimal literalsArjen Laarhoven-1/+46
2021-09-14Support @generated marker to skip code formattingSeiichi Uchida-2/+24
2021-09-13opts: rephrase wording for --all and -pLaurențiu Nicola-2/+2
2021-09-08rustfmt doc code blocks with multiple comma-separated attributesNipunn Koorapati-29/+23
2021-09-08fix: handle param doc comments for macro scenariosCaleb Cartwright-3/+6
2021-09-07fix: resolve idempotency issue in extern body elementsCaleb Cartwright-8/+12
2021-09-06try to write the parameter on a new line in case the attribute/parameter toge...Stéphane Campinas-12/+35
2021-09-06fix: use correct spans for params with attrsCaleb Cartwright-1/+1
2021-09-06fix: newline width calc in combine w/ comments (#4123)Caleb Cartwright-1/+1
2021-08-31Implement `One` option for imports_granularity (#4669)Yusuke Tanaka-18/+131
2021-08-25fix: remove wrong reformatting of qualified paths in struct patternsAshvin Arsakularatne-3/+4
2021-08-22Preserve visibility on trait items inside trait and implDavid Tolnay-16/+13
2021-08-08fix: don't drop drop generic args on assoc ty constraintsCaleb Cartwright-56/+67
2021-08-06fix: handle GAT types in impls with self boundsCaleb Cartwright-87/+44
2021-07-27Bump depsklensy-1/+1
2021-07-27Unyeet const param defaultsEllen-1/+11
2021-07-27fix: make --edition 2021 visible in --helpOutvi V-1/+1
2021-07-25chore: disable clippy::matches_like_macro lintCaleb Cartwright-0/+2
2021-07-25fix a bunch of clippy warningsMatthias Krüger-205/+130
2021-07-25fix: correct arm leading pipe check (#4880)Caleb Cartwright-3/+4
2021-07-25Adjusting help message (#4865)Michael Murphy-7/+10
2021-07-25Improve pasta copyability of `merge_imports` deprecation messageCasey Rodarmor-1/+1
2021-07-25Allow `--edition 2021` to be passed to rustfmtRuby Lazuli-0/+1
2021-07-17Use LocalExpnId where possible.Camille GILLOT-2/+2
2021-07-08Rework SESSION_GLOBALS API to prevent overwriting itGuillaume Gomez-1/+1
2021-07-01Document rustfmt on nightly-rustcJoshua Nelson-0/+1
2021-06-22Rollup merge of #86424 - calebcartwright:rustfmt-mod-resolution, r=Mark-Simul...Yuki Okushi-1/+27
2021-06-17fix(rustfmt): load nested out-of-line mods correctlyCaleb Cartwright-1/+27
2021-06-17Use `AttrVec` for `Arm`, `FieldDef`, and `Variant`Yuki Okushi-3/+3
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-4/+6
2021-05-16Allow formatting `Anonymous{Struct, Union}` declarationsjedel1043-11/+64
2021-05-12Rename `RealFileName::Named` to `LocalPath`Andy Wang-9/+10
2021-05-12Only deal with LocalPath in conversionAndy Wang-1/+1
2021-05-12Rename span_to_string to span_to_diagnostic_stringAndy Wang-1/+1
2021-05-02fix: backport changes for latest rustc api comaptibilityCaleb Cartwright-3/+4
2021-04-22Upgrade `annotate-snippets` to 0.8 (#4762)Yuki Okushi-85/+61
2021-04-21Recognize when a block comment has been ended inside a string literal (#4312)ChinYing-Li-0/+3
2021-04-21refactor: remove panics on misconfigured widthsCaleb Cartwright-54/+47
2021-04-21tests: augment heuristics testsCaleb Cartwright-0/+250