-
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.
librustc: Stop assuming that implementations and traits only contain
methods. This paves the way to associated items by introducing an extra level of abstraction ("impl-or-trait item") between traits/implementations and methods. This new abstraction is encoded in the metadata and used throughout the compiler where appropriate. There are no functional changes; this is purely a refactoring.
- Loading branch information
Showing
49 changed files
with
1,926 additions
and
1,120 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
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.
9907fa4
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 nikomatsakis
at pcwalton@9907fa4
9907fa4
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 pcwalton/rust/associated-items-groundwork = 9907fa4 into auto
9907fa4
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.
pcwalton/rust/associated-items-groundwork = 9907fa4 merged ok, testing candidate = a8c8e3f
9907fa4
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/819
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/819
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/818
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/819
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/815
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/816
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/815
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/821
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/816
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/815
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/818
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/816
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/816
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/817
9907fa4
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 = a8c8e3f