#![no_std]
#![allow(unknown_features)]
#![feature(lang_items, unsafe_destructor)]
+#![feature(box_syntax)]
#[macro_use]
extern crate core;
#![allow(unknown_features)]
#![feature(unsafe_destructor, slicing_syntax)]
#![feature(old_impl_check)]
+#![feature(box_syntax)]
#![feature(unboxed_closures)]
#![no_std]
html_root_url = "http://doc.rust-lang.org/nightly/",
html_playground_url = "http://play.rust-lang.org/")]
#![feature(slicing_syntax)]
+#![feature(box_syntax)]
#![deny(missing_docs)]
extern crate regex;
#![allow(unknown_features)]
#![feature(slicing_syntax)]
+#![feature(box_syntax)]
#![deny(missing_docs)]
#[cfg(test)]
#![allow(unknown_features)]
#![feature(quote)]
#![feature(slicing_syntax, unsafe_destructor)]
+#![feature(box_syntax)]
#![feature(rustc_diagnostic_macros)]
#![feature(old_impl_check)]
#![feature(quote)]
#![feature(slicing_syntax, unsafe_destructor)]
+#![feature(box_syntax)]
#![feature(rustc_diagnostic_macros)]
extern crate arena;
#![feature(quote)]
#![feature(slicing_syntax, unsafe_destructor)]
+#![feature(box_syntax)]
#![feature(rustc_diagnostic_macros)]
#![allow(non_camel_case_types)]
html_root_url = "http://doc.rust-lang.org/nightly/",
html_playground_url = "http://play.rust-lang.org/")]
#![feature(slicing_syntax)]
+#![feature(box_syntax)]
extern crate arena;
extern crate getopts;
html_playground_url = "http://play.rust-lang.org/")]
#![allow(unknown_features)]
#![feature(slicing_syntax)]
+#![feature(box_syntax)]
#![feature(old_impl_check)]
#![cfg_attr(stage0, allow(unused_attributes))]
#![feature(linkage, thread_local, asm)]
#![feature(lang_items, unsafe_destructor)]
#![feature(slicing_syntax, unboxed_closures)]
+#![feature(box_syntax)]
#![feature(old_impl_check)]
#![cfg_attr(stage0, allow(unused_attributes))]
("associated_types", Accepted),
("visible_private_types", Active),
("slicing_syntax", Active),
+ ("box_syntax", Active),
("if_let", Accepted),
("while_let", Accepted),
e.span,
"range syntax is experimental");
}
+ ast::ExprBox(..) | ast::ExprUnary(ast::UnOp::UnUniq, _) => {
+ self.gate_feature("box_syntax",
+ e.span,
+ "box expression syntax is experimental in alpha release; \
+ you can call `Box::new` instead.");
+ }
_ => {}
}
visit::walk_expr(self, e);
but at the end of a slice (e.g. \
`[0, ..xs, 0]` are experimental")
}
+ ast::PatBox(..) => {
+ self.gate_feature("box_syntax",
+ pattern.span,
+ "box pattern syntax is experimental in alpha release");
+ }
_ => {}
}
visit::walk_pat(self, pattern)
#![allow(unknown_features)]
#![feature(slicing_syntax)]
+#![feature(box_syntax)]
#![feature(quote, unsafe_destructor)]
extern crate arena;
#![allow(unknown_features)]
#![feature(slicing_syntax)]
+#![feature(box_syntax)]
#![deny(missing_docs)]
#[macro_use] extern crate log;
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/nightly/")]
#![feature(asm, slicing_syntax)]
+#![feature(box_syntax)]
extern crate getopts;
extern crate regex;