Erase impl regions when checking for impossible to eagerly monomorphize items#109321
Merged
bors merged 1 commit intorust-lang:masterfrom Mar 28, 2023
Merged
Conversation
Collaborator
|
r? @Nilstrieb (rustbot has picked a reviewer for you, use r? to override) |
d155bcb to
8738cea
Compare
Member
|
r? compiler |
cjgillot
reviewed
Mar 25, 2023
8738cea to
e3b0a72
Compare
Contributor
Author
|
@bors r=cjgillot |
Collaborator
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Mar 28, 2023
Rollup of 8 pull requests Successful merges: - rust-lang#91793 (socket ancillary data implementation for FreeBSD (from 13 and above).) - rust-lang#92284 (Change advance(_back)_by to return the remainder instead of the number of processed elements) - rust-lang#102472 (stop special-casing `'static` in evaluation) - rust-lang#108480 (Use Rayon's TLV directly) - rust-lang#109321 (Erase impl regions when checking for impossible to eagerly monomorphize items) - rust-lang#109470 (Correctly substitute GAT's type used in `normalize_param_env` in `check_type_bounds`) - rust-lang#109562 (Update ar_archive_writer to 0.1.3) - rust-lang#109629 (remove obsolete `givens` from regionck) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
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.
We were inserting
ReErasedfor method substs, but not for impl substs, leading to the call forsubst_and_check_impossible_predicatesbeing a bit weaker than it should be (since it ignores predicates that need substitution -- incl early-bound regions).Fixes #109297