Skip to content

fix: accept Self as non-leading path segment in attribute paths - #23249

Open
Aditya-PS-05 wants to merge 1 commit into
rust-lang:masterfrom
Aditya-PS-05:fix-tool-attr-self-segment
Open

fix: accept Self as non-leading path segment in attribute paths#23249
Aditya-PS-05 wants to merge 1 commit into
rust-lang:masterfrom
Aditya-PS-05:fix-tool-attr-self-segment

Conversation

@Aditya-PS-05

@Aditya-PS-05 Aditya-PS-05 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Fixes #23189

During lowering, convert_path did not handle Self type (SelfTypeKw), so the entire path became None and causing the error.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FP unresolved macro [missing name] diagnostic attr

2 participants