rust-analyzer/crates/syntax
bors 3f4c6dac3d Auto merge of #16372 - davidsemakula:import-granularity-one, r=Veykril
feat: Add "One" import granularity

Adds a new import granularity option "One" that merges all imports into a single use statement as long as they have the same visibility and attributes.

This is similar to [rustfmt's `imports_granularity = "One"`](https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=import#imports_granularity).

Fixes: #11361
2024-01-18 15:40:12 +00:00
..
fuzz Use Cargo's [workspace.lints.*] to config clippy 2023-12-29 23:51:32 +09:00
src Auto merge of #16372 - davidsemakula:import-granularity-one, r=Veykril 2024-01-18 15:40:12 +00:00
test_data Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
Cargo.toml Split out rustc_lexer from rustc_dependencies 2024-01-08 15:24:46 +01:00
rust.ungram fix PathSegment grammar 2023-11-12 11:20:14 +08:00