-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Improve suggestion for self: Box<self>
#111460
Conversation
r? @wesleywiser (rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
@@ -1253,7 +1253,7 @@ pub enum ExplicitSelf<'tcx> { | |||
|
|||
impl<'tcx> ExplicitSelf<'tcx> { | |||
/// Categorizes an explicit self declaration like `self: SomeType` | |||
/// into either `self`, `&self`, `&mut self`, `Box<self>`, or | |||
/// into either `self`, `&self`, `&mut self`, `Box<Self>`, or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed typo while grepping for this
ac7d432
to
3851a4b
Compare
r? @compiler-errors @bors r+ rollup |
🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened. |
…mpiler-errors Improve suggestion for `self: Box<self>` Fixes rust-lang#110642
…mpiler-errors Improve suggestion for `self: Box<self>` Fixes rust-lang#110642
Yeah it's that one. @bors r+ |
🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened. |
…mpiler-errors Rollup of 7 pull requests Successful merges: - rust-lang#106038 (use implied bounds when checking opaque types) - rust-lang#111366 (Make `NonUseContext::AscribeUserTy` carry `ty::Variance`) - rust-lang#111375 (CFI: Fix SIGILL reached via trait objects) - rust-lang#111439 (Fix backtrace normalization in ice-bug-report-url.rs) - rust-lang#111444 (Only warn single-use lifetime when the binders match.) - rust-lang#111459 (Update browser-ui-test version to 0.16.0) - rust-lang#111460 (Improve suggestion for `self: Box<self>`) Failed merges: - rust-lang#110454 (Require impl Trait in associated types to appear in method signatures) r? `@ghost` `@rustbot` modify labels: rollup
Fixes #110642