-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Account for non-types in substs for opaque type error messages #68438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
Fixes rust-lang#68368 Previously, I assumed that the substs contained only types, which caused the computed index number to be wrong.
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 4ee4287 has been approved by |
bors
added a commit
that referenced
this pull request
Jan 23, 2020
Account for non-types in substs for opaque type error messages Fixes #68368 Previously, I assumed that the substs contained only types, which caused the computed index number to be wrong.
💔 Test failed - checks-azure |
@estebank: The failure looks spurious. |
@bors retry |
tmandry
added a commit
to tmandry/rust
that referenced
this pull request
Jan 24, 2020
…estebank Account for non-types in substs for opaque type error messages Fixes rust-lang#68368 Previously, I assumed that the substs contained only types, which caused the computed index number to be wrong.
tmandry
added a commit
to tmandry/rust
that referenced
this pull request
Jan 24, 2020
…estebank Account for non-types in substs for opaque type error messages Fixes rust-lang#68368 Previously, I assumed that the substs contained only types, which caused the computed index number to be wrong.
bors
added a commit
that referenced
this pull request
Jan 24, 2020
Rollup of 7 pull requests Successful merges: - #68424 (Suggest borrowing `Vec<NonCopy>` in for loop) - #68438 (Account for non-types in substs for opaque type error messages) - #68469 (Avoid overflow in `std::iter::Skip::count`) - #68473 (Enable ASan on Fuchsia) - #68479 (Implement `unused_parens` for block return values) - #68483 (Add my (@flip1995) name to .mailmap) - #68500 (Clear out std, not std tools) Failed merges: r? @ghost
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
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 #68368
Previously, I assumed that the substs contained only types, which caused
the computed index number to be wrong.