Silence warnings on 'extern crate proc_macro'.

This commit is contained in:
Sergio Benitez 2020-06-08 12:25:10 -07:00
parent e1a3d2b6e8
commit 63a4ae0485
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@
//! DATABASE_NAME := (string literal) //! DATABASE_NAME := (string literal)
//! </pre> //! </pre>
#[allow(unused_extern_crates)]
extern crate proc_macro; extern crate proc_macro;
#[allow(unused_imports)] #[allow(unused_imports)]

View File

@ -59,7 +59,7 @@
//! ``` //! ```
#[macro_use] extern crate quote; #[macro_use] extern crate quote;
extern crate proc_macro; #[allow(unused_extern_crates)] extern crate proc_macro;
use rocket_http as http; use rocket_http as http;