Silence incorrect unmanaged state warnings.

This commit is contained in:
Sergio Benitez 2017-07-03 15:37:24 -07:00
parent a94dc9a270
commit 8eb1fff93f
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#![allow(unmanaged_state)]
use rocket::{self, State};
use rocket::fairing::AdHoc;
use rocket::config::{self, Config, Environment, LoggingLevel};

View File

@ -1,5 +1,6 @@
#![feature(plugin)]
#![plugin(rocket_codegen)]
#![allow(unmanaged_state)]
extern crate rocket;