about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-04 09:21:31 +0200
committerGitHub <noreply@github.com>2019-05-04 09:21:31 +0200
commit68dcca8e09e219294b5939b3c1cd73f01e64c2f3 (patch)
treec005b1e57f904707d44adfc7fd3490045c1e1124 /src/test/ui/thinlto
parent099c06465b01b3433ce475aa8ae7d8dbf7cf1f3b (diff)
parentce39461ca75ae5cdc5e7798869d88666ad139646 (diff)
downloadrust-68dcca8e09e219294b5939b3c1cd73f01e64c2f3.tar.gz
rust-68dcca8e09e219294b5939b3c1cd73f01e64c2f3.zip
Rollup merge of #60520 - matklad:rustfmt-all-the-new-things, r=Centril
Add rustfmt toml

This commit adds an rustfmt.toml for using for **new** code.
Old code should continut to use old style, until we put automated
style checks in place.

See
https://internals.rust-lang.org/t/running-rustfmt-on-rust-lang-rust-and-other-rust-lang-repositories/8732/81
for the reason why we deviate from the default formatting. The TL;DR
is that currently compiler uses a pretty condensed style of code, and
default settings both create a huge diff and inflate the number of
lines. use_small_heuristics=Max fixes that.

version=Two is required for bug-fixes, which technically can't be made
to the stable first version

cc @Centril: I guess adding config file with agreed-upon formatting doesn't hurt :-)

EDIT: Zullip discussion: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/x.2Epy.20fmt
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions