-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce VecPerParamSpace and use it to represent sets of types and
parameters This involves numerous substeps: 1. Treat Self same as any other parameter. 2. No longer compute offsets for method parameters. 3. Store all generic types (both trait/impl and method) with a method, eliminating odd discrepancies. 4. Stop doing unspeakable things to static methods and instead just use the natural types, now that we can easily add the type parameters from trait into the method's polytype. 5. No doubt some more. It was hard to separate these into distinct commits. Fixes #13564
- Loading branch information
1 parent
0422934
commit 9153d8a
Showing
49 changed files
with
2,571 additions
and
2,226 deletions.
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
Oops, something went wrong.
9153d8a
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.
saw approval from pcwalton
at nikomatsakis@9153d8a
9153d8a
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.
merging nikomatsakis/rust/issue-5527-namespace-substs = 9153d8a into auto
9153d8a
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.
nikomatsakis/rust/issue-5527-namespace-substs = 9153d8a merged ok, testing candidate = e7f11f2
9153d8a
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.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/6221
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/6220
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/5316
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5325
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/6318
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/5407
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5414
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/6321
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/5406
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/5411
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5472
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/3207
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/6311
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/5422
9153d8a
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.
fast-forwarding master to auto = e7f11f2