From 30290e47d7a03f9ba0626a99ae70b427a67ac0b0 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sat, 14 Apr 2018 19:37:04 -0700 Subject: [PATCH] Update codegen for 2018-04-14 nightly. --- codegen/build.rs | 2 +- codegen/src/utils/expr_ext.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/codegen/build.rs b/codegen/build.rs index 6996b306..22db1597 100644 --- a/codegen/build.rs +++ b/codegen/build.rs @@ -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() { diff --git a/codegen/src/utils/expr_ext.rs b/codegen/src/utils/expr_ext.rs index 0d592598..3487fc56 100644 --- a/codegen/src/utils/expr_ext.rs +++ b/codegen/src/utils/expr_ext.rs @@ -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 }