From 777d01fa8777679dfc2b8eb1685de46b3db3eddc Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Wed, 18 Sep 2019 19:34:03 -0700 Subject: [PATCH] Remove unused features in contrib codegen. --- contrib/codegen/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/codegen/src/lib.rs b/contrib/codegen/src/lib.rs index 7f61fc22..512267b9 100644 --- a/contrib/codegen/src/lib.rs +++ b/contrib/codegen/src/lib.rs @@ -1,10 +1,10 @@ -#![feature(proc_macro_span, proc_macro_diagnostic)] -#![feature(crate_visibility_modifier)] +#![feature(proc_macro_diagnostic)] #![recursion_limit="256"] #![warn(rust_2018_idioms)] //! # Rocket Contrib - Code Generation +//! //! This crate implements the code generation portion of the Rocket Contrib //! crate. This is for officially sanctioned contributor libraries that require //! code generation of some kind. @@ -32,7 +32,7 @@ extern crate proc_macro; #[macro_use] extern crate quote; #[allow(unused_imports)] -crate use devise::{syn, proc_macro2}; +use devise::{syn, proc_macro2}; #[cfg(feature = "database_attribute")] mod database;