about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-13 12:54:52 +0000
committerbors <bors@rust-lang.org>2023-07-13 12:54:52 +0000
commit7ccf5d404b0e044cfd1732aa5c33b16ad2c53d48 (patch)
treed0a29f7a70cd8cf045718f668d390709510c6601 /compiler/rustc_codegen_llvm/src/errors.rs
parenta0e825786b09163b08db0edeb501f19b911dcdf1 (diff)
parent2811effe3478a3ce7d1bdde936c6ca8fb08de326 (diff)
downloadrust-7ccf5d404b0e044cfd1732aa5c33b16ad2c53d48.tar.gz
rust-7ccf5d404b0e044cfd1732aa5c33b16ad2c53d48.zip
Auto merge of #11095 - Alexendoo:rustfmt-imports, r=Manishearth
Add `imports_granularity = "Module"` to rustfmt.toml

This lets rustfmt split/merge imports, `Module` seems to be the most common style in clippy

https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=#imports_granularity

changelog: none

Almost all the updates other than the config file change are from `cargo dev fmt` or blessed tests, the exceptions being

- `tests/ui/single_component_path_imports.rs`
- `tests/ui/single_component_path_imports_nested_first.rs`
- `tests/ui/single_component_path_imports_self_after.rs`
- `tests/ui/single_component_path_imports_self_before.rs`
- `tests/ui/unsafe_removed_from_name.rs` (added a test with merged imports as a drive by)
- `tests/ui/wildcard_imports.rs`
- `tests/ui/wildcard_imports_2021.rs`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions