Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librustc: Implement associated types behind a feature gate.
The implementation essentially desugars during type collection and AST type conversion time into the parameter scheme we have now. Only fully qualified names--e.g. `<T as Foo>::Bar`--are supported.
- Loading branch information
Showing
67 changed files
with
3,032 additions
and
551 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
Submodule jemalloc
updated
15 files
+1 −2 | bin/pprof | |
+0 −3 | config.sub | |
+2 −2 | configure | |
+23 −29 | include/jemalloc/internal/arena.h | |
+2 −2 | include/jemalloc/internal/jemalloc_internal.h.in | |
+0 −1 | include/jemalloc/internal/private_symbols.txt | |
+29 −28 | include/jemalloc/internal/prof.h | |
+17 −17 | include/jemalloc/internal/tcache.h | |
+3 −11 | include/jemalloc/internal/util.h | |
+6 −6 | include/jemalloc/internal/valgrind.h | |
+14 −14 | src/arena.c | |
+3 −3 | src/huge.c | |
+125 −129 | src/jemalloc.c | |
+34 −78 | src/prof.c | |
+2 −2 | src/quarantine.c |
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.
78a8418
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@78a8418
78a8418
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 = 78a8418 into auto
78a8418
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 = 78a8418 merged ok, testing candidate = 9508faa
78a8418
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/1396
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1395
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1395
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1396
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1391
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1390
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1390
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1394
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1389
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1389
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1393
success: http://buildbot.rust-lang.org/builders/auto-win32-32-opt/builds/226
success: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-t/builds/226
success: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-c/builds/226
success: http://buildbot.rust-lang.org/builders/auto-win64-64-opt/builds/226
success: http://buildbot.rust-lang.org/builders/auto-win64-64-nopt-t/builds/226
success: http://buildbot.rust-lang.org/builders/auto-win64-64-nopt-c/builds/226
78a8418
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 = 9508faa