diff --git a/examples/config/tests/common/mod.rs b/examples/config/tests/common/mod.rs index b5d11742..7bc0431f 100644 --- a/examples/config/tests/common/mod.rs +++ b/examples/config/tests/common/mod.rs @@ -1,3 +1,5 @@ +#![allow(unmanaged_state)] + use rocket::{self, State}; use rocket::fairing::AdHoc; use rocket::config::{self, Config, Environment, LoggingLevel}; diff --git a/examples/fairings/src/main.rs b/examples/fairings/src/main.rs index 1355d850..e7aa8281 100644 --- a/examples/fairings/src/main.rs +++ b/examples/fairings/src/main.rs @@ -1,5 +1,6 @@ #![feature(plugin)] #![plugin(rocket_codegen)] +#![allow(unmanaged_state)] extern crate rocket;