Update codegen for 2018-04-14 nightly.

This commit is contained in:
Sergio Benitez 2018-04-14 19:37:04 -07:00
parent a96ba1c296
commit 30290e47d7
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -11,7 +11,6 @@ impl ExprExt for Expr {
Path(..) => true,
Cast(ref expr, _) => expr.is_location(),
Field(ref expr, _) => expr.is_location(),
TupField(ref expr, _) => expr.is_location(),
Index(ref expr, _) => expr.is_location(),
_ => false
}