Skip to content

Conversation

@tangowithfoxtrot
Copy link
Contributor

📔 Objective

Rust 1.81 stabilized the #[expect] attribute. This attribute acts very similarly to #[allow], in that it allows for the suppression of various style lints. Unlike #[allow], however, it tells the linter to expect that you are overriding a linter warning. If the override is no longer applicable, then #[expect] will throw a warning stating that the lint suppression is no longer needed so that you can remove it.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation
    team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed
    issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@tangowithfoxtrot tangowithfoxtrot changed the title style: use #[expect()] instead of #[allow()] style: use #[expect] instead of #[allow] Nov 24, 2025
@github-actions
Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Details66b44cea-adab-4089-a232-ee2028aa055c

Great job! No new security vulnerabilities introduced in this pull request

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.

2 participants