Fail gracefully when encountering an HRTB in APIT. #97683
Merged
bors merged 1 commit intorust-lang:masterfrom Jun 6, 2022
Merged
Fail gracefully when encountering an HRTB in APIT. #97683bors merged 1 commit intorust-lang:masterfrom
bors merged 1 commit intorust-lang:masterfrom
Conversation
Contributor
|
Some changes occurred in src/tools/clippy. cc @rust-lang/clippy |
Contributor
|
r? @nagisa (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
Member
|
@bors r+ |
Collaborator
|
📌 Commit bacd8ad has been approved by |
Member
|
This is a correct error in stable and ICE in beta, so nominating for a backport. Not super important that it is accepted, though. |
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this pull request
Jun 5, 2022
Fail gracefully when encountering an HRTB in APIT. Fixes rust-lang#96954 ~The first commit will be merged as part of rust-lang#97415
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jun 6, 2022
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#90905 (Add empty impl blocks if they have documentation) - rust-lang#97683 (Fail gracefully when encountering an HRTB in APIT. ) - rust-lang#97721 (Do `suggest_await_before_try` with infer variables in self, and clean up binders) - rust-lang#97752 (typo: `-Zcodegen-backend=llvm -Cpasses=list` should work now) - rust-lang#97759 (Suggest adding `{}` for `'label: non_block_expr`) - rust-lang#97764 (use strict provenance APIs) - rust-lang#97765 (Restore a test that was intended to test `as` cast to ptr) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Contributor
Contributor
|
@cjgillot This does not apply cleanly to beta. The |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jun 26, 2022
…mulacrum [beta] Fail gracefully when encountering an HRTB in APIT. Backport of rust-lang#97683 The diagnostic is a bit worse, but still better than an ICE. r? `@ehuss`
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.
Fixes #96954
The first commit will be merged as part of #97415