about summary refs log tree commit diff
path: root/src/tools/rustfmt
AgeCommit message (Collapse)AuthorLines
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
The recursion_limit attribute avoids the following error: ``` error[E0275]: overflow evaluating the requirement `std::ptr::Unique<rustc_ast::Pat>: std::marker::Send` | = help: consider adding a `#![recursion_limit="256"]` attribute to your crate (`rustfmt_nightly`) ```
2021-06-22Rollup merge of #86424 - calebcartwright:rustfmt-mod-resolution, ↵Yuki Okushi-1/+46
r=Mark-Simulacrum rustfmt: load nested out-of-line mods correctly This should address https://github.com/rust-lang/rustfmt/issues/4874 r? `@Mark-Simulacrum` Decided to make the change directly in tree here for expediency/to minimize any potential backporting issues, and because there's some subtree sync items I need to get resolved before pulling from r-l/rustfmt
2021-06-22Rollup merge of #86274 - alexander-melentyev:spaces, r=bjorn3Yuki Okushi-31/+31
Spaces
2021-06-21Delete spacesAlexander Melentyev-31/+31
2021-06-17fix(rustfmt): load nested out-of-line mods correctlyCaleb Cartwright-1/+46
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
position.
2021-05-16Allow formatting `Anonymous{Struct, Union}` declarationsjedel1043-11/+64
2021-05-14Update log to 0.4.14Joshua Nelson-1/+1
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 #79813 <https://github.com/rust-lang/rust/issues/79813> ```
2021-05-14Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'Caleb Cartwright-0/+78073
git-subtree-dir: src/tools/rustfmt git-subtree-mainline: e659b6de9170c055b6f2d16e2679b22d67297b13 git-subtree-split: 7872306edf2e11a69aaffb9434088fd66b46a863
2021-05-14Delete rustfmt submoduleJoshua Nelson-6/+0
2021-05-05Update RLS and RustfmtIgor Matuszewski-5/+5
2021-04-12update RLS and rustfmtCaleb Cartwright-5/+5
2021-02-09update RLS and rustfmtCaleb Cartwright-5/+5
2021-01-28update rustfmt to v1.4.34Caleb Cartwright-5/+5
2021-01-16bump rustfmt to v1.4.32Caleb Cartwright-5/+5
2021-01-15Update RLS and RustfmtIgor Matuszewski-5/+5
2020-12-20update rustfmt to v1.4.30Caleb Cartwright-5/+5
2020-12-06Bump Rustfmt to 1.4.29Igor Matuszewski-5/+5
2020-12-05Update RLS and RustfmtIgor Matuszewski-5/+5
2020-11-16update rustfmt to v1.4.27Caleb Cartwright-5/+5
2020-11-14Update rustfmt to v1.4.26Caleb Cartwright-5/+5
2020-11-11update rustfmtCaleb Cartwright-5/+5
2020-11-06Bump Rustfmt and RLSAlessandro Ghedini-5/+5
Should hopefully fix #78341 and #78340.
2020-10-05Update RLS and RustfmtIgor Matuszewski-5/+5
2020-09-05Update RLS and RustfmtCaleb Cartwright-5/+5
2020-08-12Update RLS and RustfmtIgor Matuszewski-18/+5
2020-07-25Update rustfmtTyler Mandry-18/+15
Changes: - preparation for potential rustfmt 1.4.19 (#4283) - chore: backport 8157a3f0afe978d3e953420577f8344db7e905bf - deps: bump rustc-ap to v669 - deps: bump rustc-ap-* to v668 - deps: bump rustc-ap* to v666 - Use correct span for match arms with the leading pipe and attributes (#3975)
2020-06-19Bump Rustfmt and RLSIgor Matuszewski-18/+18
2020-05-28submodules: Update RLS and RustfmtIgor Matuszewski-18/+18
2020-04-15Bump rustfmt and rlstopecongiro-14/+18
2020-04-05submodules: Update RLS and Rustfmt to 1.4.13Igor Matuszewski-6/+16
2020-02-12Update RLS and RustfmtIgor Matuszewski-21/+7
Bumps rustc-ap-* packages to v642.
2019-12-10Update RLS and RustfmtIgor Matuszewski-18/+18
2019-10-12Update RLS and RustfmtIgor Matuszewski-18/+18
This also bumps rustc-ap-* crates and fixes the relevant toolstate.
2019-09-09Bump RLS and Rustfmt submodulesIgor Matuszewski-18/+18
2019-08-28Update rustfmt to 1.4.6topecongiro-6/+21
2019-08-20Update rustfmt to 1.4.5Seiichi Uchida-21/+6
2019-08-06Update rustfmt to 1.4.4topecongiro-18/+18
2019-08-03Update Rustfmt and RLSIgor Matuszewski-5/+21
2019-07-30Update RustfmtIgor Matuszewski-17/+5
2019-07-17Update rustfmt to the latest mastertopecongiro-18/+14
2019-07-17Update rustfmt to 1.3.3topecongiro-18/+18
2019-06-19Update rustfmt and rlstopecongiro-5/+21
Update rustfmt to 1.3.0.
2019-04-27Update rustfmt to 1.2.2topecongiro-5/+5
2019-04-18Update rustfmt to 1.2.1topecongiro-5/+5
2019-03-27Update rustfmt to 1.2.0topecongiro-5/+5
2019-03-18Update Clippy, RLS and RustfmtMateusz Mikuła-5/+5