about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-05-03 21:35:21 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-05-03 21:45:37 +0300
commitce39461ca75ae5cdc5e7798869d88666ad139646 (patch)
tree55f31637e2da0c89c306f152ebcb746f0b374b93 /src/test/ui/thinlto
parent546cb21f580ae3d4e0bf42ccecfad4a34defebe7 (diff)
downloadrust-ce39461ca75ae5cdc5e7798869d88666ad139646.tar.gz
rust-ce39461ca75ae5cdc5e7798869d88666ad139646.zip
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
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions