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:
parent
acf9783879
commit
dd98f7089f
15 changed files with 320 additions and 0 deletions
|
|
@ -20,6 +20,8 @@
|
|||
#[license = "MIT/ASL2"];
|
||||
#[crate_type = "lib"];
|
||||
|
||||
#[feature(macro_rules, globs)];
|
||||
|
||||
extern mod extra;
|
||||
|
||||
pub mod util {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue