Allow trailing self in more contexts#155137
Conversation
|
@rustbot review |
|
Reminder, once the PR becomes ready for a review, use |
Description for lang teamThis PR implements the last part of the lang team guidance from #146972 (comment). Concretely, after this PR
And technically, this PR will not break existing code. |
|
@rustbot review |
|
Team member @traviscross has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! cc @rust-lang/lang-advisors: FCP proposed for lang, please feel free to register concerns. |
|
@rfcbot reviewed |
|
@rfcbot reviewed |
1 similar comment
|
@rfcbot reviewed |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
As a follow-up PR to #152996, after this PR:
selfcan appear in pathsuse ...::self [as target];will be equivalent touse ...::{self [as target]};r? petrochenkov