-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Migrating rustc_infer to session diagnostics (part 5) #108698
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
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
37f5569
Ported FunctionPointerSuggestion
IntQuant b36abea
Migrate SuggestAsRefWhereAppropriate
IntQuant d56b304
Migrate SuggestAccessingField
IntQuant 23b8567
Migrate SuggestBoxingForReturnImplTrait, Fix typo in infer_fn_conside…
IntQuant d18adb7
Migrate SuggestTuplePattern
IntQuant b610ce7
Migrate TupleTrailingCommaSuggestion
IntQuant ab11b43
FailureCode::Error0038 is unreachable, so can be removed
IntQuant 1f09bc7
Migrate (most of) report_and_explain_type_error
IntQuant e813b6d
Update compiler/rustc_infer/src/infer/error_reporting/suggest.rs
IntQuant aa33a6f
Move and document escape_literal function
IntQuant fd18d9a
Renamed TypeErrorAdditionalDiags (was Error0308Subdiags) and Obligati…
IntQuant 6a05cd8
A more general implementation of `IntoDiagnosticArg` for `Binder` (Al…
IntQuant 21d5bed
Extract suggest_specify_actual_length into a separate function
IntQuant 467d367
Rename tuple_wrap_err_subdiag to suggest_wrap_to_build_a_tuple, makin…
IntQuant 3fb6d6b
Now passes tests
IntQuant d07b1cd
Call `into_diagnostic_arg` on Binder's contained value directly.
IntQuant File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.