-
Notifications
You must be signed in to change notification settings - Fork 967
Labels
UO-imports_granularityUnstable option: imports_granularityUnstable option: imports_granularityunstable-optionTracking issue of an unstable optionTracking issue of an unstable option
Description
Tracking issue for unstable option: imports_granularity.
See Processes.md, "Stabilising an Option":
- Is the default value correct?
- The design and implementation of the option are sound and clean.
- The option is well tested, both in unit tests and, optimally, in real usage.
- There is no open bug about the option that prevents its use.
- Import sorting does not handle uppercase/lowercase consistently #5269
- fix(import_granularity): do not merge aliases #6028
- bug: imports_granularity = "One" deletes aliases #6027
-
imports_granularityis not respected for#[cfg]'d items #6666 -
imports_granularity=Oneremoves macro imports that share names with modules #6717 -
imports_granularity = "Module"merges top-level modules into a singleusestatement #6191 -
imports_granularity=Itemremoves#[cfg()]attribute from imports #5030 -
imports_granularity = "Module"causes compile error when path containsself#4681 - fix: imports_granularity module with path containing self #5253
-
imports_granularity = "Module"doesn't work if module path is too long #6164 - import_granularity: Don't normalize imports with comments #5311
- Backport 4406 + 4536 #5296
- Formatting pre and post cast comments enhancements #4406
- fix: between span derivation on cast exprs #4536
- Rustfmt removes comments in
uses #3984 - Do not remove comment from an import with a single item #3999
- Group imports together with imports_granularity results in non-idempotent formatting #6195
- group_imports reorders
usestatements arounds comments, changing their meaning #6241 - strange behavior for duplicate imports with imports_granularity="Module" #6243
remi-dupre, Nutomic, gluxon, Zingam, kraktus and 152 moreproski, panarch, ruancomelli, brannondorsey, ctron and 5 more
Sub-issues
Metadata
Metadata
Assignees
Labels
UO-imports_granularityUnstable option: imports_granularityUnstable option: imports_granularityunstable-optionTracking issue of an unstable optionTracking issue of an unstable option