Skip to content

Remove redundant pin ergonomics UI test allows#8

Merged
frank-king merged 1 commit intofrank-king:feature/pin-borrowckfrom
P8L1:remove-redundant-pin-ui-allows-v2
May 4, 2026
Merged

Remove redundant pin ergonomics UI test allows#8
frank-king merged 1 commit intofrank-king:feature/pin-borrowckfrom
P8L1:remove-redundant-pin-ui-allows-v2

Conversation

@P8L1
Copy link
Copy Markdown

@P8L1 P8L1 commented May 4, 2026

This removes redundant crate-level lint suppression attributes from the pin ergonomics UI tests.

The normal UI test harness already applies the preset lint levels needed here, including -A unused and -A incomplete_features, so these explicit #![allow(...)] attributes are unnecessary.

Refer to: https://rustc-dev-guide.rust-lang.org/tests/ui.html#ui-test-mode-preset-lint-levels

I also re-blessed the affected UI tests after removing the lines.

No test semantics were changed:

  • kept #![feature(pin_ergonomics)]
  • kept #[pin_v2]
  • kept all //@ directives
  • kept all error annotations

@frank-king frank-king merged commit 1e8d2cd into frank-king:feature/pin-borrowck May 4, 2026
2 of 11 checks passed
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