Implement feature-gating for the compiler

A few features are now hidden behind various #[feature(...)] directives. These
include struct-like enum variants, glob imports, and macro_rules! invocations.

Closes #9304
Closes #9305
Closes #9306
Closes #9331
This commit is contained in:
Alex Crichton
2013-10-02 18:10:16 -07:00
parent acf9783879
commit dd98f7089f
15 changed files with 320 additions and 0 deletions

View File

@@ -17,6 +17,8 @@
#[license = "MIT/ASL2"];
#[crate_type = "lib"];
#[feature(globs, struct_variant)];
extern mod syntax;
extern mod rustc;
extern mod extra;