Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update codegen for 2018-06-12 nightly. #663

Merged
merged 1 commit into from
Jun 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codegen/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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-05-30";
const MIN_DATE: &'static str = "2018-06-12";
const MIN_VERSION: &'static str = "1.28.0-nightly";

fn main() {
Expand Down
3 changes: 1 addition & 2 deletions codegen/src/utils/parser_ext.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use syntax::parse::parser::{PathStyle, Parser};
use syntax::parse::PResult;
use syntax::parse::{SeqSep, PResult};
use syntax::ast::Path;
use syntax::parse::token::Token::{Eof, Comma};
use syntax::parse::common::SeqSep;

pub trait ParserExt<'a> {
fn parse_paths(&mut self) -> PResult<'a, Vec<Path>>;
Expand Down