mirror of https://github.com/rwf2/Rocket.git
Silence incorrect unmanaged state warnings.
This commit is contained in:
parent
a94dc9a270
commit
8eb1fff93f
|
@ -1,3 +1,5 @@
|
||||||
|
#![allow(unmanaged_state)]
|
||||||
|
|
||||||
use rocket::{self, State};
|
use rocket::{self, State};
|
||||||
use rocket::fairing::AdHoc;
|
use rocket::fairing::AdHoc;
|
||||||
use rocket::config::{self, Config, Environment, LoggingLevel};
|
use rocket::config::{self, Config, Environment, LoggingLevel};
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#![feature(plugin)]
|
#![feature(plugin)]
|
||||||
#![plugin(rocket_codegen)]
|
#![plugin(rocket_codegen)]
|
||||||
|
#![allow(unmanaged_state)]
|
||||||
|
|
||||||
extern crate rocket;
|
extern crate rocket;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue