Skip to content

fix attribute links - #2959

Open
mejrs wants to merge 1 commit into
rust-lang:mainfrom
mejrs:attrs
Open

fix attribute links#2959
mejrs wants to merge 1 commit into
rust-lang:mainfrom
mejrs:attrs

Conversation

@mejrs

@mejrs mejrs commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

fixes #2958

@rustbot

rustbot commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Aug 11, 2026
Comment thread src/hir/attribute-parsing.md Outdated
* `find_attr!(attrs, Variant(...))` to find an attribute in attrs, a `&[rustc_attr_ir::Attribute]`.

`Variant` is a pattern matching one of the `AttributeKind` variants, and can take one of the following shapes:
`Variant` is a pattern matching one of the []`AttributeKind`] variants, and can take one of the following shapes:

@tshepang tshepang Aug 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe typo

Suggested change
`Variant` is a pattern matching one of the []`AttributeKind`] variants, and can take one of the following shapes:
`Variant` is a pattern matching one of the [`AttributeKind`] variants, and can take one of the following shapes:

View changes since the review

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link to hir_attrs in /hir/attribute-parsing.md leads to Not Found

3 participants