← Rule catalog

clippy · Performance

clippy::box_collection

Clippy `box_collection` diagnostic

Severity
warning
Confidence
high
Analyzer
clippy
Default policy
Enabled

Tags

  • type-aware
  • performance

Framework requirements

No framework requirement.

Limitations

  • Compiler-aware evidence is unavailable when the package cannot complete Clippy analysis.

Remediation

Apply the rustc suggestion when its applicability permits it.

Fix capability: rustc-suggestion

Open primary documentation