Remove 'use_extern_macros' feature: stabilized.

This commit is contained in:
Sergio Benitez 2018-08-18 17:06:28 -07:00
parent 58519e495e
commit fd6d577158
8 changed files with 8 additions and 16 deletions

View File

@ -54,8 +54,6 @@
//! In your application's source code, one-time: //! In your application's source code, one-time:
//! //!
//! ```rust //! ```rust
//! # #![feature(use_extern_macros)]
//! #
//! # extern crate rocket; //! # extern crate rocket;
//! # extern crate rocket_contrib; //! # extern crate rocket_contrib;
//! # //! #
@ -76,7 +74,7 @@
//! Whenever a connection to the database is needed: //! Whenever a connection to the database is needed:
//! //!
//! ```rust //! ```rust
//! # #![feature(plugin, decl_macro, use_extern_macros)] //! # #![feature(plugin, decl_macro)]
//! # #![plugin(rocket_codegen)] //! # #![plugin(rocket_codegen)]
//! # //! #
//! # extern crate rocket; //! # extern crate rocket;
@ -192,7 +190,6 @@
//! internal type of the structure must implement [`Poolable`]. //! internal type of the structure must implement [`Poolable`].
//! //!
//! ```rust //! ```rust
//! # #![feature(use_extern_macros)]
//! # extern crate rocket; //! # extern crate rocket;
//! # extern crate rocket_contrib; //! # extern crate rocket_contrib;
//! use rocket_contrib::databases::{database, diesel}; //! use rocket_contrib::databases::{database, diesel};
@ -228,7 +225,6 @@
//! together, a use of the `#[database]` attribute looks as follows: //! together, a use of the `#[database]` attribute looks as follows:
//! //!
//! ```rust //! ```rust
//! # #![feature(use_extern_macros)]
//! # extern crate rocket; //! # extern crate rocket;
//! # extern crate rocket_contrib; //! # extern crate rocket_contrib;
//! # //! #
@ -267,7 +263,6 @@
//! connection to a given database: //! connection to a given database:
//! //!
//! ```rust //! ```rust
//! # #![feature(use_extern_macros)]
//! # #![feature(plugin, decl_macro)] //! # #![feature(plugin, decl_macro)]
//! # #![plugin(rocket_codegen)] //! # #![plugin(rocket_codegen)]
//! # //! #
@ -290,7 +285,7 @@
//! connection type: //! connection type:
//! //!
//! ```rust //! ```rust
//! # #![feature(plugin, decl_macro, use_extern_macros)] //! # #![feature(plugin, decl_macro)]
//! # #![plugin(rocket_codegen)] //! # #![plugin(rocket_codegen)]
//! # //! #
//! # extern crate rocket; //! # extern crate rocket;

View File

@ -1,4 +1,3 @@
#![feature(use_extern_macros)]
#![feature(crate_visibility_modifier)] #![feature(crate_visibility_modifier)]
#![feature(never_type)] #![feature(never_type)]
#![feature(doc_cfg)] #![feature(doc_cfg)]

View File

@ -1,5 +1,3 @@
#![feature(use_extern_macros)]
extern crate rocket; extern crate rocket;
extern crate rocket_contrib; extern crate rocket_contrib;

View File

@ -8,7 +8,7 @@ use yansi::Color::{Red, Yellow, Blue, White};
use version_check::{supports_features, is_min_version, is_min_date}; use version_check::{supports_features, is_min_version, is_min_date};
// Specifies the minimum nightly version needed to compile Rocket's codegen. // Specifies the minimum nightly version needed to compile Rocket's codegen.
const MIN_DATE: &'static str = "2018-08-14"; const MIN_DATE: &'static str = "2018-08-17";
const MIN_VERSION: &'static str = "1.30.0-nightly"; const MIN_VERSION: &'static str = "1.30.0-nightly";
fn main() { fn main() {

View File

@ -1,5 +1,5 @@
#![feature(specialization)] #![feature(specialization)]
#![feature(proc_macro_non_items, use_extern_macros)] #![feature(proc_macro_non_items)]
#![feature(const_fn)] #![feature(const_fn)]
#![feature(try_from)] #![feature(try_from)]
#![feature(crate_visibility_modifier)] #![feature(crate_visibility_modifier)]

View File

@ -8,8 +8,8 @@ use yansi::Color::{Red, Yellow, Blue, White};
use version_check::{supports_features, is_min_version, is_min_date}; use version_check::{supports_features, is_min_version, is_min_date};
// Specifies the minimum nightly version needed to compile Rocket. // Specifies the minimum nightly version needed to compile Rocket.
const MIN_DATE: &'static str = "2018-07-16"; const MIN_DATE: &'static str = "2018-08-17";
const MIN_VERSION: &'static str = "1.29.0-nightly"; const MIN_VERSION: &'static str = "1.30.0-nightly";
fn main() { fn main() {
let ok_channel = supports_features(); let ok_channel = supports_features();

View File

@ -4,7 +4,7 @@
#![feature(try_trait)] #![feature(try_trait)]
#![feature(fnbox)] #![feature(fnbox)]
#![feature(never_type)] #![feature(never_type)]
#![feature(proc_macro_non_items, use_extern_macros)] #![feature(proc_macro_non_items)]
#![feature(crate_visibility_modifier)] #![feature(crate_visibility_modifier)]
#![feature(try_from)] #![feature(try_from)]

View File

@ -1,4 +1,4 @@
#![feature(plugin, decl_macro, use_extern_macros, custom_derive, const_fn)] #![feature(plugin, decl_macro, custom_derive, const_fn)]
#![plugin(rocket_codegen)] #![plugin(rocket_codegen)]
#[macro_use] extern crate rocket; #[macro_use] extern crate rocket;