Add some feature gates

This commit is contained in:
Alex Crichton 2015-01-29 08:42:02 -08:00
parent 482752b5f4
commit 0a6a1cabde

View file

@ -36,9 +36,9 @@
//! [2]: https://github.com/BurntSushi/toml-test //! [2]: https://github.com/BurntSushi/toml-test
//! //!
#![feature(collections, core)]
#![deny(missing_docs)] #![deny(missing_docs)]
#![cfg_attr(test, deny(warnings))] #![cfg_attr(test, deny(warnings))]
#![cfg_attr(test, allow(unstable))]
extern crate "rustc-serialize" as rustc_serialize; extern crate "rustc-serialize" as rustc_serialize;