Skip to content

refactor: simplify Diagnostic to enum, extract for_each_dep_table_mut#14

Merged
RomarQ merged 4 commits intomainfrom
rq/fix-default-features-improvements
Mar 18, 2026
Merged

refactor: simplify Diagnostic to enum, extract for_each_dep_table_mut#14
RomarQ merged 4 commits intomainfrom
rq/fix-default-features-improvements

Conversation

@RomarQ
Copy link
Copy Markdown
Owner

@RomarQ RomarQ commented Mar 18, 2026

Summary

  • Replace flat Diagnostic struct (6 Option fields + CheckKind) with DiagnosticKind enum carrying variant-specific data
  • Add for_each_dep_table_mut to eliminate duplicated iteration in fix_member_dep
  • Flatten has_default_features_false into a single method chain

RomarQ added 4 commits March 18, 2026 22:42
Replace flat Diagnostic struct (6 Option fields + CheckKind) with
DiagnosticKind enum carrying variant-specific data. Add mutable
variant of for_each_dep_table to eliminate duplicated iteration in
fix_member_dep.
@RomarQ RomarQ merged commit b95a625 into main Mar 18, 2026
2 checks passed
@RomarQ RomarQ deleted the rq/fix-default-features-improvements branch March 18, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant