-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add enum variants to the type namespace
Change to resolve and update compiler and libs for uses. [breaking-change] Enum variants are now in both the value and type namespaces. This means that if you have a variant with the same name as a type in scope in a module, you will get a name clash and thus an error. The solution is to either rename the type or the variant.
- Loading branch information
Showing
72 changed files
with
489 additions
and
457 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
Oops, something went wrong.
ce0907e
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 brson
at nrc@ce0907e
ce0907e
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 nick29581/rust/variants-namespace = ce0907e into auto
ce0907e
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.
nick29581/rust/variants-namespace = ce0907e merged ok, testing candidate = 01fb9a2c
ce0907e
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.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1428
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1429
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1428
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1427
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1425
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1424
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1424
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1428
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1422
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1422
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1425
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-opt/builds/260
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-t/builds/260
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-c/builds/260
exception: http://buildbot.rust-lang.org/builders/auto-win64-64-opt/builds/260
exception: http://buildbot.rust-lang.org/builders/auto-win64-64-nopt-t/builds/260
exception: http://buildbot.rust-lang.org/builders/auto-win64-64-nopt-c/builds/260