-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change]
- Loading branch information
Showing
483 changed files
with
1,711 additions
and
1,109 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
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.
7a87302
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 sfackler@7a87302
7a87302
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 sfackler/rust/enum-namespace-pt2 = 7a87302 into auto
7a87302
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.
sfackler/rust/enum-namespace-pt2 = 7a87302 merged ok, testing candidate = ccd6403f
7a87302
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-linux-64-x-android-t/builds/2300
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/2310
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/2308
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/2301
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/2308
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/2302
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/2301
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/2301
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/2305
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/2298
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/2297
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1962
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1958
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1964
exception: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/801
exception: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/795
exception: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-c/builds/790