mirror of https://github.com/rwf2/Rocket.git
Update codegen for 2018-04-14 nightly.
This commit is contained in:
parent
a96ba1c296
commit
30290e47d7
|
@ -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() {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue