-
Notifications
You must be signed in to change notification settings - Fork 13.4k
The Great Generics Generalisation: HIR Followup #51880
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
bors
merged 41 commits into
rust-lang:master
from
varkor:generics-hir-generalisation-followup
Aug 20, 2018
Merged
Changes from 39 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
11adc13
Address minor comments
varkor 651215e
Replace for_each with for
varkor 2317abd
Fix quadratic loop in confirm.rs
varkor d1a82af
Refactor mod/check (part i)
varkor 5fe9aeb
Refactor mod/check (part ii)
varkor 96379e1
Refactor mod/check (part iii)
varkor e812b55
Refactor mod/check (part iv)
varkor c9941a8
Refactor mod/check (part v)
varkor 88d5b2f
Refactor mod/check (part vi)
varkor 3357702
Replace generics_require_inlining with generics.requires_monomorphiza…
varkor 734ce4a
Fix tidy check
varkor d5e24dc
Fix integer overflow
varkor d8ba103
Fix param_idx calculation
varkor b6eef18
Supress consecutive errors
varkor 84edc0a
Move lifetime calculation outside loop
varkor 35ddd46
Refactor confirm.rs
varkor 340a7fc
Refactor astconv.rs
varkor e02642d
Fix confirm.rs
varkor 9cfe92c
"Fix" annoying test
varkor 9bb40b0
Make prohibit_generics take IntoIterators
varkor db94efa
Refactor mod/check (part vii)
varkor 5f2588f
Fix behaviour in error condition
varkor 08d49a6
Refactor mod/check (part viii)
varkor 5d07db4
Refactor confirm.rs (part ii)
varkor b524991
Refactor astconv.rs (part ii)
varkor ccef306
Revert broken test
varkor e79bc41
Consolidate into create_substs_for_generic_args
varkor 6a96cf1
Clean match statement
varkor 9d3d4b1
Refactor lock-step
varkor 7c9f7c2
Args first, then params
varkor a14bc71
Add Default for GenericParamCount
varkor 49c4573
Refactor generic argument count check in astconv
varkor 68b0e7d
Refactor generic argument count check in method/confirm.rs
varkor 04d33bb
Refactor generic argument count check in check/mod.rs
varkor 03c4628
Avoid clone and update documentation
varkor 4722744
Fix some remaining tests
varkor 25b6267
Taking a peek
varkor b5c2470
Update new ui tests
varkor ae81fc6
Fix ICE
varkor aa3b5c5
Fix diagnostic regression
varkor ee9bd0f
Add a test for skipping all arguments versus just one
varkor 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
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
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
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
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.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.