Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
# Run rustfmt with this config (it should be picked up automatically).
version = "Two"
use_small_heuristics = "Max"
merge_derives = false
# by default we ignore everything in the repository
# tidy only checks files which are not ignored, each entry follows gitignore style
ignore = [
# tests for now are not formatted, as they are sometimes pretty-printing constrained
# (and generally rustfmt can move around comments in UI-testing incompatible ways)
# do not format submodules
# these are ignored by a standard cargo fmt run
"compiler/rustc_codegen_cranelift/", # running rustfmt breaks this file