Skip to content

Commit 63a4ae0

Browse files
committed
Silence warnings on 'extern crate proc_macro'.
1 parent e1a3d2b commit 63a4ae0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contrib/codegen/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
//! DATABASE_NAME := (string literal)
2727
//! </pre>
2828
29+
#[allow(unused_extern_crates)]
2930
extern crate proc_macro;
3031

3132
#[allow(unused_imports)]

core/codegen/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
//! ```
6060
6161
#[macro_use] extern crate quote;
62-
extern crate proc_macro;
62+
#[allow(unused_extern_crates)] extern crate proc_macro;
6363

6464
use rocket_http as http;
6565

0 commit comments

Comments
 (0)