Repository navigation
delegation: map return even if there is no target expression - #164361
Merged
rust-bors[bot] merged 1 commit intoOct 16, 2026
Merged
rust-bors[bot] merged 1 commit into
rust-bors[bot] merged 1 commit into
Conversation
This comment has been minimized.
This comment has been minimized.
aerooneqq
force-pushed
the
delegation-map-return-when-no-target-expr
branch
from
October 15, 2026 14:52
900fd45 to
8e840fe
Compare
Contributor
Contributor
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Oct 15, 2026
…en-no-target-expr, r=petrochenkov delegation: map return even if there is no target expression When we can perform `Self` mapping and there is no target expression we still should map the return value. Part of rust-lang#118212. r? @petrochenkov
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Oct 15, 2026
…en-no-target-expr, r=petrochenkov delegation: map return even if there is no target expression When we can perform `Self` mapping and there is no target expression we still should map the return value. Part of rust-lang#118212. r? @petrochenkov
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Oct 15, 2026
…en-no-target-expr, r=petrochenkov delegation: map return even if there is no target expression When we can perform `Self` mapping and there is no target expression we still should map the return value. Part of rust-lang#118212. r? @petrochenkov
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 15, 2026
…uwer Rollup of 8 pull requests Successful merges: - #164271 (Add release notes for 1.99.1) - #164361 (delegation: map return even if there is no target expression) - #162778 (rustdoc: add disambiguators for identically named method in sidebar) - #163224 ([rustdoc] Add tabs to settings popover) - #164220 (Test the interaction between `--remap-path-prefix` and doctests) - #164279 (Make the `documentation` scope a sub-scope of the `object` scope) - #164318 (Fix check with `is_impl_trait_in_trait()` before expecting local id) - #164360 (Fix(lib/sys): Restore Win7 compilation)
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 16, 2026
…uwer Rollup of 7 pull requests Successful merges: - #164175 (Drop WC_ERR_INVALID_CHARS from Windows stdio) - #164361 (delegation: map return even if there is no target expression) - #162778 (rustdoc: add disambiguators for identically named method in sidebar) - #163224 ([rustdoc] Add tabs to settings popover) - #164220 (Test the interaction between `--remap-path-prefix` and doctests) - #164318 (Fix check with `is_impl_trait_in_trait()` before expecting local id) - #164360 (Fix(lib/sys): Restore Win7 compilation)
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 16, 2026
Rollup merge of #164361 - aerooneqq:delegation-map-return-when-no-target-expr, r=petrochenkov delegation: map return even if there is no target expression When we can perform `Self` mapping and there is no target expression we still should map the return value. Part of #118212. r? @petrochenkov
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When we can perform
Selfmapping and there is no target expression we still should map the return value.Part of #118212.
r? @petrochenkov