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
support transient inference contexts in the SLG solver #97
Merged
nikomatsakis
merged 11 commits into
rust-lang:master
from
nikomatsakis:short-lived-infcx
Mar 19, 2018
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
92ff538
encapsulation inference table construction in a helper
nikomatsakis aae8dd0
move new table code into `InferenceTable` method
nikomatsakis 5d8bc33
store canonical strands in tables, instantiate as we process
nikomatsakis 126b0a7
move `UnificationResult` to `Context` trait
nikomatsakis 0ede4f9
have `resolvent_clause` produce canonical ex-clause
nikomatsakis 3eae99e
make `InferenceTable` host `TruncateOps` and `ResolventOps`
nikomatsakis 074c42c
supply inference table via a closure callback
nikomatsakis fa5e15e
pass `InferenceTable` via `dyn Trait`
nikomatsakis 1ea7a2e
change to use an `&mut dyn InferenceTable<C>` instead
nikomatsakis 971f586
add in some missing `dyn`, kill some dead code
nikomatsakis 86ca8b0
pointless micro-optimization: clone instead of substitute
nikomatsakis File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
Diff settings
pointless micro-optimization: clone instead of substitute
When we create a fresh inference context, we always map all free variables to themselves, so we don't need to substitute.
- Loading branch information...
ProTip!
Use n and p to navigate between commits in a pull request.
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.