0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-30 20:01:19 +01:00
The Rust compiler https://www.rust-lang.org/
Go to file
Tim Chevalier 9dc59e1506 Export all enum variants by default; new syntax for selectively exporting variants
See issue 1426 for details. Now, the semantics of "export t;" where t is a tag are
to export all of t's variants as well. "export t{};" exports t but not its
variants, while "export t{a, b, c};" exports only variants a, b, c of t.

To do:
- documentation
- there's currently no checking that a, b, c are actually variants of t in the
 above example
- there's also no checking that t is an enum type, in the second two examples above
- change the modules listed in issue 1426 that should have the old export
semantics to use the t{} syntax

I deleted the test export-no-tag-variants since we're doing the opposite now,
and other tests cover the same behavior.
2012-01-23 15:48:08 -08:00
doc Remove mention of Windows installer from tutorial 2012-01-23 14:09:21 -08:00
man rustc: Name the lint-style check module lint 2012-01-19 17:54:38 +08:00
mk Add an INSTALL.txt and make it part of the source distribution 2012-01-23 16:07:01 -06:00
src Export all enum variants by default; new syntax for selectively exporting variants 2012-01-23 15:48:08 -08:00
.gitignore Update .gitignore 2012-01-20 17:26:20 -08:00
.gitmodules Re-add libuv as a submodule. 2011-11-08 19:01:47 -08:00
AUTHORS.txt Merge pull request #1620 from thoughtpolice/email-fix 2012-01-23 14:01:07 -08:00
configure build: Run tutorial tests 2012-01-20 19:56:06 -08:00
INSTALL.txt doc: Just remove mention of the busted win installer from INSTALL.txt 2012-01-23 14:15:40 -08:00
LICENSE.txt BSD -> MIT, they're legally synonymous as far as I know. Just being clearer. 2012-01-17 18:58:06 -08:00
Makefile.in Merge pull request #1583 from killerswan/ubuntu_ppa 2012-01-20 16:12:50 -08:00
README.txt Rename some readmes and fix some dist logic. 2012-01-17 16:50:13 -08:00
RELEASES.txt doc: Fix typo in RELEASES.txt 2012-01-19 22:54:08 -08:00

This is a compiler and suite of associated libraries and documentation for the
Rust programming language.

See LICENSE.txt for terms of copyright and redistribution.

See http://www.rust-lang.org for more information.