-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
[12/12] On-demand type-checking, const-evaluation, MIR building & const-qualification. #40008
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e8d01ea
rustc: store type parameter defaults outside of ty::Generics.
eddyb 86e4029
rustc_typeck: simplify AstConv requests as implemented by collect.
eddyb e96a171
rustc: move the actual values of enum discriminants into a map.
eddyb cc8a3a9
rustc: consolidate dep-tracked hashmaps in tcx.maps.
eddyb b5c4244
rustc: introduce a query system for type information in ty::maps.
eddyb 374ea14
rustc_mir: expose MIR building through ty::maps::Provider.
eddyb 4649f73
rustc_typeck: lift CrateCtxt to TyCtxt.
eddyb 28f1cf4
rustc_typeck: don't use Result for get_type_parameter_bounds and ensu…
eddyb 91374f8
rustc: combine BareFnTy and ClosureTy into FnSig.
eddyb 3146ee8
rustc: simplify tcx.closure_type(...) as it can copy the cached values.
eddyb 9c3c306
rustc_typeck: move the leaves (generics, trait_def, adt_def) to on-de…
eddyb ba11640
rustc_typeck: hook up collect and item/body check to on-demand.
eddyb 9890e04
rustc: allow handling cycle errors gracefully in on-demand.
eddyb c832e6f
rustc_typeck: rework coherence to be almost completely on-demand.
eddyb e7a4882
rustc_const_eval: always demand typeck_tables for evaluating constants.
eddyb d9f0a94
rustc_const_eval: demand that the MIR qualify_consts ran on each eval…
eddyb f702b20
rustc_save_analysis: don't pollute the codemap with fake files.
eddyb 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 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 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 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 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 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 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 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 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Man, we really need to document all the things that can have def-ids and what each table means for each kind of thing. Is this written down anywhere? I guess not.