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::fairing::AdHoc;
|
||||
use rocket::config::{self, Config, Environment, LoggingLevel};
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#![feature(plugin)]
|
||||
#![plugin(rocket_codegen)]
|
||||
#![allow(unmanaged_state)]
|
||||
|
||||
extern crate rocket;
|
||||
|
||||
|
|
Loading…
Reference in New Issue