rust/tests
Yacin Tmimi e41329ce87 Search for struct body span after any generic arguments
Fixes 5273

Previously, rustfmt searched for the start of a struct body after the
opening `{`. In most cases this works just fine, but const values can
also be defined between `{ }`, which lead to issues when rewriting the
struct body.

Now, rustfmt will search for the `{` after the generic argument list to
guarantee that the `{` it finds is the start of the struct body.
2022-03-20 21:39:12 -05:00
..
cargo-fmt Format code 2022-02-15 19:44:53 -06:00
config chore: backport 8157a3f0afe978d3e953420577f8344db7e905bf 2020-07-15 09:19:21 -05:00
coverage
license-template fix: handling of empty str for license template path (#3804) 2019-09-24 09:24:05 +09:00
mod-resolver Improve mod resolution error for mods with multiple candidate files 2022-03-08 21:51:23 -06:00
parser tests: add test for panic on new_parser_from_file 2020-11-02 18:31:51 -06:00
rustfmt Improve mod resolution error for mods with multiple candidate files 2022-03-08 21:51:23 -06:00
source fix: imports_granularity module with path containing self 2022-03-12 10:47:46 -06:00
target Search for struct body span after any generic arguments 2022-03-20 21:39:12 -05:00
writemode Use <stdin> when emitting stdin as filename (#4298) 2022-01-02 10:06:06 -06:00