Uh oh!
There was an error while loading. Please reload this page.
Handle inference variables in CollectAllMismatches correctly - #106322
Merged
bors merged 1 commit intoJan 12, 2023
Conversation
rustbot
commented
Dec 31, 2022
Collaborator
r? @wesleywiser (rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
compiler-errorsforce-pushed
the
CollectAllMismatches-infer-vars
branch
from
January 1, 2023 22:50
78127ed to
7691071Comparecompiler-errors
commented
Jan 9, 2023
ContributorAuthor
oli-obk
commented
Jan 10, 2023
Contributor
@bors r+ seems like |
bors
commented
Jan 10, 2023
Collaborator
📌 Commit 7691071b79c016e7bc5c300768a9de66e893063c has been approved by It is now in the queue for this repository. |
Noratrieb
commented
Jan 11, 2023
Member
compiler-errorsforce-pushed
the
CollectAllMismatches-infer-vars
branch
from
January 11, 2023 20:01
7691071 to
959616eComparecompiler-errors
commented
Jan 11, 2023
ContributorAuthor
rebased @bors r=oli-obk |
bors
commented
Jan 11, 2023
Collaborator
Noratrieb added a commit
to Noratrieb/rust
that referenced
this pull request
Jan 12, 2023
…es-infer-vars, r=oli-obk Handle inference variables in `CollectAllMismatches` correctly 1. Fixrust-lang#106240 2. Treat int/float type variables correctly (see `src/test/ui/iterators/invalid-iterator-chain-with-int-infer.rs`), so we can point out things like "`Iterator::Item` changed to `{integer}` here"
This was referenced Jan 12, 2023
bors added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jan 12, 2023
Rollup of 6 pull requests Successful merges: - rust-lang#105806 (Support eager subdiagnostics again) - rust-lang#106322 (Handle inference variables in `CollectAllMismatches` correctly) - rust-lang#106579 (Suggest making private tuple struct field public) - rust-lang#106714 (remove unreachable error code `E0490`) - rust-lang#106751 (Fix rendering 'const' in header for intrinsics) - rust-lang#106761 (Add `WaffleLapkin` to compiler reviewers) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
JohnTitor pushed a commit
to JohnTitor/rust
that referenced
this pull request
Jan 13, 2023
…-confusing, r=lcnr Rename `Ty::is_ty_infer` -> `Ty::is_ty_or_numeric_infer` Makes sure people are aware that they may have a type variable *or* an int/float variable. r? `@oli-obk` rust-lang#106322 (comment) but I could instead implement your solution, let me know. (This will conflict with rust-lang#106322 for now, ignore that 😄)
matthiaskrgr added a commit
to matthiaskrgr/rust
that referenced
this pull request
Jan 13, 2023
…-confusing, r=lcnr Rename `Ty::is_ty_infer` -> `Ty::is_ty_or_numeric_infer` Makes sure people are aware that they may have a type variable *or* an int/float variable. r? ``@oli-obk`` rust-lang#106322 (comment) but I could instead implement your solution, let me know. (This will conflict with rust-lang#106322 for now, ignore that 😄)
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 freeto 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.
src/test/ui/iterators/invalid-iterator-chain-with-int-infer.rs), so we can point out things like "Iterator::Itemchanged to{integer}here"