-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
Convert rustfmt from a submodule to a subtree #82208
Commits on Oct 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7926851 - Browse repository at this point
Copy the full SHA 7926851View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb01dc8 - Browse repository at this point
Copy the full SHA fb01dc8View commit details
Commits on Oct 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 383306e - Browse repository at this point
Copy the full SHA 383306eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed697c9 - Browse repository at this point
Copy the full SHA ed697c9View commit details
Commits on Oct 6, 2019
-
Merge pull request rust-lang#3838 from calebcartwright/static-raw-ide…
…nt-prefix add static support for raw prefix identifiers
Configuration menu - View commit details
-
Copy full SHA for 61f972b - Browse repository at this point
Copy the full SHA 61f972bView commit details
Commits on Oct 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ba4bf03 - Browse repository at this point
Copy the full SHA ba4bf03View commit details -
Configuration menu - View commit details
-
Copy full SHA for e53e0f8 - Browse repository at this point
Copy the full SHA e53e0f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2934ec5 - Browse repository at this point
Copy the full SHA 2934ec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33e3667 - Browse repository at this point
Copy the full SHA 33e3667View commit details -
Configuration menu - View commit details
-
Copy full SHA for 160c3aa - Browse repository at this point
Copy the full SHA 160c3aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8073244 - Browse repository at this point
Copy the full SHA 8073244View commit details
Commits on Oct 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6dcbc5d - Browse repository at this point
Copy the full SHA 6dcbc5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 207a58f - Browse repository at this point
Copy the full SHA 207a58fView commit details
Commits on Oct 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 396a2af - Browse repository at this point
Copy the full SHA 396a2afView commit details
Commits on Oct 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8210cc1 - Browse repository at this point
Copy the full SHA 8210cc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a15e97f - Browse repository at this point
Copy the full SHA a15e97fView commit details
Commits on Oct 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 28be779 - Browse repository at this point
Copy the full SHA 28be779View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd6e960 - Browse repository at this point
Copy the full SHA fd6e960View commit details
Commits on Oct 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0497a7d - Browse repository at this point
Copy the full SHA 0497a7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5d16df - Browse repository at this point
Copy the full SHA a5d16dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5327c36 - Browse repository at this point
Copy the full SHA 5327c36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a073f1 - Browse repository at this point
Copy the full SHA 3a073f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69c7dbc - Browse repository at this point
Copy the full SHA 69c7dbcView commit details
Commits on Oct 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 233497a - Browse repository at this point
Copy the full SHA 233497aView commit details
Commits on Oct 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 69cf483 - Browse repository at this point
Copy the full SHA 69cf483View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99f9f57 - Browse repository at this point
Copy the full SHA 99f9f57View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5b1832 - Browse repository at this point
Copy the full SHA d5b1832View commit details -
Configuration menu - View commit details
-
Copy full SHA for e47aae7 - Browse repository at this point
Copy the full SHA e47aae7View commit details
Commits on Dec 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 731f155 - Browse repository at this point
Copy the full SHA 731f155View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1838235 - Browse repository at this point
Copy the full SHA 1838235View commit details
Commits on Feb 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c60416e - Browse repository at this point
Copy the full SHA c60416eView commit details -
Backport the fix for the parser bug where the messages from fatal/non-recoverable parser errors were being silently eaten by rustfmt.
Configuration menu - View commit details
-
Copy full SHA for e72f307 - Browse repository at this point
Copy the full SHA e72f307View commit details -
Configuration menu - View commit details
-
Copy full SHA for 760bb29 - Browse repository at this point
Copy the full SHA 760bb29View commit details
Commits on Feb 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9f53665 - Browse repository at this point
Copy the full SHA 9f53665View commit details
Commits on Mar 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7a76ec0 - Browse repository at this point
Copy the full SHA 7a76ec0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9699c96 - Browse repository at this point
Copy the full SHA 9699c96View commit details
Commits on Mar 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bd5dff4 - Browse repository at this point
Copy the full SHA bd5dff4View commit details
Commits on Mar 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9b0ed57 - Browse repository at this point
Copy the full SHA 9b0ed57View commit details -
Configuration menu - View commit details
-
Copy full SHA for bea7209 - Browse repository at this point
Copy the full SHA bea7209View commit details -
Configuration menu - View commit details
-
Copy full SHA for 537d746 - Browse repository at this point
Copy the full SHA 537d746View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1a66e1 - Browse repository at this point
Copy the full SHA c1a66e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b173b42 - Browse repository at this point
Copy the full SHA b173b42View commit details
Commits on Mar 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ac2d5b8 - Browse repository at this point
Copy the full SHA ac2d5b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9714a14 - Browse repository at this point
Copy the full SHA 9714a14View commit details -
Merge pull request rust-lang#4100 from calebcartwright/rustfmt1x-rust…
…c-v650 bump rustfmt 1x to rustc-ap v651
Configuration menu - View commit details
-
Copy full SHA for 5ca3d02 - Browse repository at this point
Copy the full SHA 5ca3d02View commit details
Commits on Mar 31, 2020
-
backport new syntax to rustfmt 1.x (rust-lang#4105)
* feat: support raw reference operator * feat: support const opt-out syntax * feat: support half open range syntax
Configuration menu - View commit details
-
Copy full SHA for 00e199c - Browse repository at this point
Copy the full SHA 00e199cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c126730 - Browse repository at this point
Copy the full SHA c126730View commit details
Commits on Apr 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ca4eba5 - Browse repository at this point
Copy the full SHA ca4eba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5cb5d2 - Browse repository at this point
Copy the full SHA a5cb5d2View commit details
Commits on May 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 577ef81 - Browse repository at this point
Copy the full SHA 577ef81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 770ad7b - Browse repository at this point
Copy the full SHA 770ad7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for aedff61 - Browse repository at this point
Copy the full SHA aedff61View commit details
Commits on Jun 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 08776ef - Browse repository at this point
Copy the full SHA 08776efView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef1bb58 - Browse repository at this point
Copy the full SHA ef1bb58View commit details -
Configuration menu - View commit details
-
Copy full SHA for de8238c - Browse repository at this point
Copy the full SHA de8238cView commit details
Commits on Jun 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for de4ff81 - Browse repository at this point
Copy the full SHA de4ff81View commit details -
Configuration menu - View commit details
-
Copy full SHA for b28fd5f - Browse repository at this point
Copy the full SHA b28fd5fView commit details
Commits on Jun 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bc9a0b2 - Browse repository at this point
Copy the full SHA bc9a0b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for dead3a8 - Browse repository at this point
Copy the full SHA dead3a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce1a3ef - Browse repository at this point
Copy the full SHA ce1a3efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0767a09 - Browse repository at this point
Copy the full SHA 0767a09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5db7152 - Browse repository at this point
Copy the full SHA 5db7152View commit details -
Configuration menu - View commit details
-
Copy full SHA for 796d6ea - Browse repository at this point
Copy the full SHA 796d6eaView commit details
Commits on Jun 13, 2020
-
Merge pull request rust-lang#4253 from calebcartwright/rustfmt-1.4.18
bump rustfmt 1.x rustc-ap* crates to v644
Configuration menu - View commit details
-
Copy full SHA for 4d36560 - Browse repository at this point
Copy the full SHA 4d36560View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1e9b7b - Browse repository at this point
Copy the full SHA c1e9b7bView commit details
Commits on Jun 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a36e7c7 - Browse repository at this point
Copy the full SHA a36e7c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for da18032 - Browse repository at this point
Copy the full SHA da18032View commit details
Commits on Jul 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b243075 - Browse repository at this point
Copy the full SHA b243075View commit details
Commits on Jul 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 391cd3e - Browse repository at this point
Copy the full SHA 391cd3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf359c6 - Browse repository at this point
Copy the full SHA bf359c6View commit details
Commits on Jul 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cef1c0d - Browse repository at this point
Copy the full SHA cef1c0dView commit details
Commits on Aug 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a88f028 - Browse repository at this point
Copy the full SHA a88f028View commit details
Commits on Aug 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a178031 - Browse repository at this point
Copy the full SHA a178031View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48f6c32 - Browse repository at this point
Copy the full SHA 48f6c32View commit details
Commits on Sep 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e4617e0 - Browse repository at this point
Copy the full SHA e4617e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 637ddfb - Browse repository at this point
Copy the full SHA 637ddfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d00849e - Browse repository at this point
Copy the full SHA d00849eView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa11c27 - Browse repository at this point
Copy the full SHA aa11c27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89b7f5f - Browse repository at this point
Copy the full SHA 89b7f5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62dc7c5 - Browse repository at this point
Copy the full SHA 62dc7c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01f2ead - Browse repository at this point
Copy the full SHA 01f2eadView commit details
Commits on Sep 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9ba373f - Browse repository at this point
Copy the full SHA 9ba373fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8635a5c - Browse repository at this point
Copy the full SHA 8635a5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 146578c - Browse repository at this point
Copy the full SHA 146578cView commit details
Commits on Sep 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4908ee1 - Browse repository at this point
Copy the full SHA 4908ee1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6b9625 - Browse repository at this point
Copy the full SHA f6b9625View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6a220b - Browse repository at this point
Copy the full SHA d6a220bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eedd82 - Browse repository at this point
Copy the full SHA 8eedd82View commit details
Commits on Oct 2, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for a15800a - Browse repository at this point
Copy the full SHA a15800aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9b0b05 - Browse repository at this point
Copy the full SHA a9b0b05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92ab76c - Browse repository at this point
Copy the full SHA 92ab76cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a8ff20 - Browse repository at this point
Copy the full SHA 2a8ff20View commit details
Commits on Oct 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 14d53f7 - Browse repository at this point
Copy the full SHA 14d53f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdb1c44 - Browse repository at this point
Copy the full SHA bdb1c44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97d0301 - Browse repository at this point
Copy the full SHA 97d0301View commit details
Commits on Oct 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d95a287 - Browse repository at this point
Copy the full SHA d95a287View commit details -
Configuration menu - View commit details
-
Copy full SHA for c89638a - Browse repository at this point
Copy the full SHA c89638aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31cef56 - Browse repository at this point
Copy the full SHA 31cef56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2866634 - Browse repository at this point
Copy the full SHA 2866634View commit details -
Configuration menu - View commit details
-
Copy full SHA for e70343a - Browse repository at this point
Copy the full SHA e70343aView 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 6a78247 - Browse repository at this point
Copy the full SHA 6a78247View commit details -
Fix overriding license header bug (rust-lang#4488)
* Override header to None when path len = 0 * Add regression test * Ensure nightly
Configuration menu - View commit details
-
Copy full SHA for fa9d974 - Browse repository at this point
Copy the full SHA fa9d974View commit details
Commits on Nov 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e131797 - Browse repository at this point
Copy the full SHA e131797View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9faba45 - Browse repository at this point
Copy the full SHA 9faba45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86a41bc - Browse repository at this point
Copy the full SHA 86a41bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b6226c - Browse repository at this point
Copy the full SHA 2b6226cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98975e1 - Browse repository at this point
Copy the full SHA 98975e1View commit details -
Add some basic tests for
try{}
expressionsThey failed to parse in rustfmt on me in rust-lang#77877, which looks like it's since been fixed, but I figured I'd send in some tests anyway.
Configuration menu - View commit details
-
Copy full SHA for 278e8da - Browse repository at this point
Copy the full SHA 278e8daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15854e5 - Browse repository at this point
Copy the full SHA 15854e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb517f4 - Browse repository at this point
Copy the full SHA fb517f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea97ec5 - Browse repository at this point
Copy the full SHA ea97ec5View commit details
Commits on Nov 6, 2020
-
Don't flatten a block containing a single macro call
We no longer flatten a block that looks like this: ```rust match val { pat => { macro_call!() } } ``` Currently, rust ignores trailing semicolons in macro expansion in expression position (see rust-lang#33953) If this is changed, flattening a block with a macro call may break the user's code - the trailing semicolon will no longer parse if the macro call occurs immediately on the right-hand side of the match arm (e.g. `pat => macro_call!()`)
Configuration menu - View commit details
-
Copy full SHA for 46ab144 - Browse repository at this point
Copy the full SHA 46ab144View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1139e6e - Browse repository at this point
Copy the full SHA 1139e6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae6b40e - Browse repository at this point
Copy the full SHA ae6b40eView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb894d5 - Browse repository at this point
Copy the full SHA eb894d5View commit details
Commits on Nov 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a613c57 - Browse repository at this point
Copy the full SHA a613c57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f29ff6 - Browse repository at this point
Copy the full SHA 0f29ff6View commit details
Commits on Nov 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for dd32de7 - Browse repository at this point
Copy the full SHA dd32de7View commit details -
Correctly create artificial span for formatting closure body
This commit partially reverts rust-lang#3934, opting to create a span that covers the entire body of a closure when formatting a closure body with a block-formatting strategy, rather than having the block-formatting code determine if the visitor pointer should be rewound. The problem with rewinding the visitor pointer is it may be incorrect for other (i.e. non-artificial) AST nodes, as in the case of rust-lang#4382. Closes rust-lang#4382
Configuration menu - View commit details
-
Copy full SHA for ce13ff1 - Browse repository at this point
Copy the full SHA ce13ff1View commit details -
Fixed 'Incorrect comment indent inside if/else' issue. (rust-lang#4459)
* Added test cases * Fixed if condition comment issue * Fixed extern C issue * Removed previous test case * Removed tmp file * honor the authors intent * Changed the file name to its original name * Removed extra whitespace
Configuration menu - View commit details
-
Copy full SHA for faf97a6 - Browse repository at this point
Copy the full SHA faf97a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for eed826f - Browse repository at this point
Copy the full SHA eed826fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77c8c90 - Browse repository at this point
Copy the full SHA 77c8c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 293d7d0 - Browse repository at this point
Copy the full SHA 293d7d0View commit details
Commits on Nov 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 89f3830 - Browse repository at this point
Copy the full SHA 89f3830View commit details -
Configuration menu - View commit details
-
Copy full SHA for d003e3b - Browse repository at this point
Copy the full SHA d003e3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 580d826 - Browse repository at this point
Copy the full SHA 580d826View commit details
Commits on Nov 19, 2020
-
Option to create groups for std, external crates, and other imports
Backport of 17d90ca.
Configuration menu - View commit details
-
Copy full SHA for 073cc38 - Browse repository at this point
Copy the full SHA 073cc38View commit details
Commits on Nov 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0037862 - Browse repository at this point
Copy the full SHA 0037862View commit details
Commits on Nov 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 581da52 - Browse repository at this point
Copy the full SHA 581da52View commit details -
Configuration menu - View commit details
-
Copy full SHA for baee271 - Browse repository at this point
Copy the full SHA baee271View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b21602 - Browse repository at this point
Copy the full SHA 5b21602View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f32ce8 - Browse repository at this point
Copy the full SHA 4f32ce8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c0673c - Browse repository at this point
Copy the full SHA 5c0673cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d9fa00 - Browse repository at this point
Copy the full SHA 4d9fa00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48d30a4 - Browse repository at this point
Copy the full SHA 48d30a4View commit details
Commits on Nov 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8e46225 - Browse repository at this point
Copy the full SHA 8e46225View commit details -
Properly format function signature in extern blocks
Closes rust-lang#4288 And we get to drop a method, which I think is a win :)
Configuration menu - View commit details
-
Copy full SHA for 5ffccbb - Browse repository at this point
Copy the full SHA 5ffccbbView commit details -
Don't drop blocks on foreign functions
A code like ```rust extern "C" { fn f() { fn g() {} } } ``` is incorrect and does not compile. Today rustfmt formats this in a way that is correct: ```rust extern "C" { fn f(); } ``` But this loses information, and doesn't have to be done because we know the content of the block if it is present. During development I don't think rustfmt should drop the block in this context. Closes rust-lang#4313
Configuration menu - View commit details
-
Copy full SHA for 3bf67c1 - Browse repository at this point
Copy the full SHA 3bf67c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7ecdc1 - Browse repository at this point
Copy the full SHA e7ecdc1View 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 c77c6a4 - Browse repository at this point
Copy the full SHA c77c6a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3df383a - Browse repository at this point
Copy the full SHA 3df383aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c735994 - Browse repository at this point
Copy the full SHA c735994View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb7e604 - Browse repository at this point
Copy the full SHA fb7e604View commit details -
Pick up comments between visibility modifier and item name (rust-lang…
…#4239) * Pick up comments between visibility modifier and item name I don't think this hurts to fix. rust-lang#2781, which surfaced this issue, has a number of comments relating to similar but slightly different issues (i.e. dropped comments in other places). I can mark rust-lang#2781 as closed and then will open new issues for the comments that are not already resolved or tracked. Closes rust-lang#2781 * fixup! Pick up comments between visibility modifier and item name * fixup! Pick up comments between visibility modifier and item name
Configuration menu - View commit details
-
Copy full SHA for 5e7fb45 - Browse repository at this point
Copy the full SHA 5e7fb45View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea712f1 - Browse repository at this point
Copy the full SHA ea712f1View commit details -
Fixed 'Comment removed between type name and =' issue (rust-lang#4448)
* Fixed Comment removed between type name and = issue * Fixed where clause issue and pass the full span * has_where condition inline * Fixed indentation error on where clause * Removed tmp file
Configuration menu - View commit details
-
Copy full SHA for 6455e9d - Browse repository at this point
Copy the full SHA 6455e9dView commit details -
Fixed comment dropped between & and type issue (rust-lang#4482)
* Fixed comment dropped between & and type issue * Reduced nesting levels and avoided duplications * Removed extra allocations
Configuration menu - View commit details
-
Copy full SHA for b7c38c9 - Browse repository at this point
Copy the full SHA b7c38c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 823c4f8 - Browse repository at this point
Copy the full SHA 823c4f8View commit details -
Comment between typebounds (rust-lang#4474)
* Test cases and get spans * Fixed type bounds * Fixed issue of test cases * Fixed first test case issue * Removed unwanted whitespaces * Removed tmp files
Configuration menu - View commit details
-
Copy full SHA for 7d9ee75 - Browse repository at this point
Copy the full SHA 7d9ee75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29f33eb - Browse repository at this point
Copy the full SHA 29f33ebView commit details
Commits on Dec 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 96ee060 - Browse repository at this point
Copy the full SHA 96ee060View commit details -
Configuration menu - View commit details
-
Copy full SHA for c40a8c1 - Browse repository at this point
Copy the full SHA c40a8c1View commit details
Commits on Dec 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 70ce182 - Browse repository at this point
Copy the full SHA 70ce182View commit details
Commits on Dec 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4cfb9ef - Browse repository at this point
Copy the full SHA 4cfb9efView commit details -
Fix rewrite of closures with a return type
If the closure's body fits in a line, the block is removed but it is necessary if the closure has a return type.
Configuration menu - View commit details
-
Copy full SHA for c536d80 - Browse repository at this point
Copy the full SHA c536d80View commit details -
Format error and typeof types (rust-lang#4416)
* Add a test for rust-lang#4357 * Format error and typeof types
Configuration menu - View commit details
-
Copy full SHA for 0d022d0 - Browse repository at this point
Copy the full SHA 0d022d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for acd9486 - Browse repository at this point
Copy the full SHA acd9486View commit details
Commits on Jan 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d8e0d00 - Browse repository at this point
Copy the full SHA d8e0d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 398d2f9 - Browse repository at this point
Copy the full SHA 398d2f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4644418 - Browse repository at this point
Copy the full SHA 4644418View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b0c18 - Browse repository at this point
Copy the full SHA a6b0c18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bb17a0 - Browse repository at this point
Copy the full SHA 5bb17a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b623eb3 - Browse repository at this point
Copy the full SHA b623eb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0eaaed - Browse repository at this point
Copy the full SHA f0eaaedView commit details -
Configuration menu - View commit details
-
Copy full SHA for c59b147 - Browse repository at this point
Copy the full SHA c59b147View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3571c5d - Browse repository at this point
Copy the full SHA 3571c5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b57469d - Browse repository at this point
Copy the full SHA b57469dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f9c794 - Browse repository at this point
Copy the full SHA 4f9c794View commit details
Commits on Jan 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b30cb24 - Browse repository at this point
Copy the full SHA b30cb24View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4d551c - Browse repository at this point
Copy the full SHA c4d551cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 590f6a1 - Browse repository at this point
Copy the full SHA 590f6a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 216a643 - Browse repository at this point
Copy the full SHA 216a643View commit details
Commits on Jan 17, 2021
-
Rename
merge_imports
toimports_granularity
and add aModule
op……tion. This renames the existing `true`/`false` options to `Crate`/`Never`, then adds a new `Module` option which causes imports to be grouped together by their originating module.
Configuration menu - View commit details
-
Copy full SHA for 7186375 - Browse repository at this point
Copy the full SHA 7186375View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d60a61 - Browse repository at this point
Copy the full SHA 0d60a61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17bad2b - Browse repository at this point
Copy the full SHA 17bad2bView commit details
Commits on Jan 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2695846 - Browse repository at this point
Copy the full SHA 2695846View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0fede3 - Browse repository at this point
Copy the full SHA c0fede3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 152ccb5 - Browse repository at this point
Copy the full SHA 152ccb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8deed3 - Browse repository at this point
Copy the full SHA f8deed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1102714 - Browse repository at this point
Copy the full SHA 1102714View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e14f76 - Browse repository at this point
Copy the full SHA 5e14f76View commit details -
Add imports_granularity="Item".
This option splits all imports into their own `use` statement.
Configuration menu - View commit details
-
Copy full SHA for 384ba68 - Browse repository at this point
Copy the full SHA 384ba68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e2b0b7 - Browse repository at this point
Copy the full SHA 1e2b0b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e61326 - Browse repository at this point
Copy the full SHA 3e61326View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd4dc36 - Browse repository at this point
Copy the full SHA bd4dc36View commit details -
Configuration menu - View commit details
-
Copy full SHA for c13d245 - Browse repository at this point
Copy the full SHA c13d245View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0fe48f - Browse repository at this point
Copy the full SHA f0fe48fView commit details
Commits on Jan 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d80a42f - Browse repository at this point
Copy the full SHA d80a42fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8f318c - Browse repository at this point
Copy the full SHA b8f318cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea268b9 - Browse repository at this point
Copy the full SHA ea268b9View commit details
Commits on Feb 4, 2021
-
Add arch name to archive files created in the upload workflow (rust-l…
…ang#4679) * Add arch name to archive files created in the upload workflow * Fix arch names in matrix.build key to include arch name as well
Configuration menu - View commit details
-
Copy full SHA for ead937b - Browse repository at this point
Copy the full SHA ead937bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58ac85b - Browse repository at this point
Copy the full SHA 58ac85bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7db2ba8 - Browse repository at this point
Copy the full SHA 7db2ba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82a6528 - Browse repository at this point
Copy the full SHA 82a6528View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55d2620 - Browse repository at this point
Copy the full SHA 55d2620View commit details
Commits on Feb 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 67faa61 - Browse repository at this point
Copy the full SHA 67faa61View commit details -
Configuration menu - View commit details
-
Copy full SHA for b80fdf2 - Browse repository at this point
Copy the full SHA b80fdf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ed7511 - Browse repository at this point
Copy the full SHA 9ed7511View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7de6968 - Browse repository at this point
Copy the full SHA 7de6968View commit details
Commits on Feb 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6b64e30 - Browse repository at this point
Copy the full SHA 6b64e30View commit details
Commits on Feb 18, 2021
-
- Fix nightly warning about `format!` - Remove unused functions and fields
Configuration menu - View commit details
-
Copy full SHA for 6170948 - Browse repository at this point
Copy the full SHA 6170948View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b0ed96 - Browse repository at this point
Copy the full SHA 4b0ed96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 432e09e - Browse repository at this point
Copy the full SHA 432e09eView commit details
Commits on Feb 19, 2021
-
This commit can be replicated with `cargo clippy --fix -Z unstable-options && cargo +nightly-2021-02-10 fmt`.
Configuration menu - View commit details
-
Copy full SHA for c3a5111 - Browse repository at this point
Copy the full SHA c3a5111View commit details
Commits on Mar 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ca4e9f4 - Browse repository at this point
Copy the full SHA ca4e9f4View commit details
Commits on Apr 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c5c348c - Browse repository at this point
Copy the full SHA c5c348cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbd83b8 - Browse repository at this point
Copy the full SHA cbd83b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c63395 - Browse repository at this point
Copy the full SHA 2c63395View commit details -
Configuration menu - View commit details
-
Copy full SHA for 612e8d5 - Browse repository at this point
Copy the full SHA 612e8d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83cbdf6 - Browse repository at this point
Copy the full SHA 83cbdf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1dc57a - Browse repository at this point
Copy the full SHA a1dc57aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2bc4b5 - Browse repository at this point
Copy the full SHA f2bc4b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c617e8 - Browse repository at this point
Copy the full SHA 4c617e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 884cdb8 - Browse repository at this point
Copy the full SHA 884cdb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf1e47f - Browse repository at this point
Copy the full SHA bf1e47fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 748e595 - Browse repository at this point
Copy the full SHA 748e595View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef57c5b - Browse repository at this point
Copy the full SHA ef57c5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4948911 - Browse repository at this point
Copy the full SHA 4948911View commit details -
Configuration menu - View commit details
-
Copy full SHA for c32f2ec - Browse repository at this point
Copy the full SHA c32f2ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01cdc15 - Browse repository at this point
Copy the full SHA 01cdc15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bd2b19 - Browse repository at this point
Copy the full SHA 0bd2b19View commit details
Commits on Apr 22, 2021
-
Don't show CRLF tests as modified in the working directory
This was being overriden by `lf=eof` in `.gitattributes` in the root directory. Override it again to avoid warnings like this: ``` $ git diff src/tools/rustfmt/tests/target/issue-3494/crlf.rs warning: CRLF will be replaced by LF in src/tools/rustfmt/tests/target/issue-3494/crlf.rs. The file will have its original line endings in your working directory ```
Configuration menu - View commit details
-
Copy full SHA for 6767c1d - Browse repository at this point
Copy the full SHA 6767c1dView commit details -
Use
rustc_private
instead of crates.io dependencies- Update rust-toolchain to also install `rustc-dev` component
Configuration menu - View commit details
-
Copy full SHA for 61ee108 - Browse repository at this point
Copy the full SHA 61ee108View commit details -
Configuration menu - View commit details
-
Copy full SHA for 943b97c - Browse repository at this point
Copy the full SHA 943b97cView commit details -
Use rustup in CI to automatically determine the toolchain version needed
This also removes the (now unused) `RUSTC_RELEASE` and `RUSTC_RELEASE_CHANNEL` variables.
Configuration menu - View commit details
-
Copy full SHA for 26fb3fa - Browse repository at this point
Copy the full SHA 26fb3faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0269eb1 - Browse repository at this point
Copy the full SHA 0269eb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea1611c - Browse repository at this point
Copy the full SHA ea1611cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bcc1f8 - Browse repository at this point
Copy the full SHA 1bcc1f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a168d92 - Browse repository at this point
Copy the full SHA a168d92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78b0728 - Browse repository at this point
Copy the full SHA 78b0728View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58157bb - Browse repository at this point
Copy the full SHA 58157bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for dac2423 - Browse repository at this point
Copy the full SHA dac2423View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84ff001 - Browse repository at this point
Copy the full SHA 84ff001View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddb224a - Browse repository at this point
Copy the full SHA ddb224aView commit details
Commits on May 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f874147 - Browse repository at this point
Copy the full SHA f874147View commit details
Commits on May 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2a3635d - Browse repository at this point
Copy the full SHA 2a3635dView commit details
Commits on May 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8526ace - Browse repository at this point
Copy the full SHA 8526aceView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b5621 - Browse repository at this point
Copy the full SHA e4b5621View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef31361 - Browse repository at this point
Copy the full SHA ef31361View commit details -
Configuration menu - View commit details
-
Copy full SHA for 927561a - Browse repository at this point
Copy the full SHA 927561aView commit details
Commits on May 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7872306 - Browse repository at this point
Copy the full SHA 7872306View commit details
Commits on May 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0e61f62 - Browse repository at this point
Copy the full SHA 0e61f62View commit details -
Configuration menu - View commit details
-
Copy full SHA for e659b6d - Browse repository at this point
Copy the full SHA e659b6dView commit details -
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd…
Configuration menu - View commit details
-
Copy full SHA for b2d45c0 - Browse repository at this point
Copy the full SHA b2d45c0View commit details -
Update bootstrap for in-tree rustfmt
- Add rustfmt to `x.py check` - Update Cargo.lock - Remove rustfmt from the toolstate list - Make rustfmt an in-tree tool - Give an error on `x.py test rustfmt` if rustfmt fails to build or if tests fail - Don't call `save_toolstate` when testing rustfmt
Configuration menu - View commit details
-
Copy full SHA for 956e0ba - Browse repository at this point
Copy the full SHA 956e0baView commit details -
Don't copy tool dependencies to the sysroot
This fixes the following error: ``` error: found crates (`serde_derive` and `serde_derive`) with colliding StableCrateId values. --> /home/joshua/.local/lib/cargo/registry/src/github.com-1ecc6299db9ec823/cargo_metadata-0.8.2/src/lib.rs:162:1 | 162 | extern crate serde_derive; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` This is a bug in resolve (rust-lang#56935) but it will be difficult to fix in the near future. This works around it in the meantime by not copying serde_derive and other dependencies to the sysroot when they're built for other tools. This rebuilds the dependencies slightly more often than necessary, but avoids the crate conflicts. This can be reverted once rust-lang#56935 is fixed.
Configuration menu - View commit details
-
Copy full SHA for b349437 - Browse repository at this point
Copy the full SHA b349437View commit details -
This avoids the following warning: ``` warning: trailing semicolon in macro used in expression position --> /home/joshua/.local/lib/cargo/registry/src/github.com-1ecc6299db9ec823/log-0.4.11/src/macros.rs:152:45 | 147 | / macro_rules! debug { 148 | | (target: $target:expr, $($arg:tt)+) => ( 149 | | log!(target: $target, $crate::Level::Debug, $($arg)+); 150 | | ); 151 | | ($($arg:tt)+) => ( 152 | | log!($crate::Level::Debug, $($arg)+); | | ^ 153 | | ) 154 | | } | |_- in this expansion of `debug!` | ::: src/tools/rustfmt/src/modules/visitor.rs:36:23 | 36 | Err(e) => debug!("{}", e), | --------------- in this macro invocation | = note: requested on the command line with `-W semicolon-in-expressions-from-macros` = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue rust-lang#79813 <rust-lang#79813> ```
Configuration menu - View commit details
-
Copy full SHA for 079d1c4 - Browse repository at this point
Copy the full SHA 079d1c4View commit details -
Run toolstate jobs when src/tools/rustfmt is modified.
Previously, this would be caught by a change for modified submodules; now that rustfmt is no longer a submodule, the check needs to be explicit.
Configuration menu - View commit details
-
Copy full SHA for 56fa9b4 - Browse repository at this point
Copy the full SHA 56fa9b4View commit details -
should-skip-this: Check for changes between the master branch, not th…
…e previous commit. The previous commit could be part of the current PR.
Configuration menu - View commit details
-
Copy full SHA for 08c7c61 - Browse repository at this point
Copy the full SHA 08c7c61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34368ec - Browse repository at this point
Copy the full SHA 34368ecView commit details