Skip to content

Commit 371ef65

Browse files
committed
Merge pull request #167 from mcarton/rustup
Rustup to 1.8.0-nightly (57c357d89 2016-02-16)
2 parents ffeb415 + 32a1041 commit 371ef65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

regex_macros/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ fn exec<'t>(
452452
fn match_class(&self, ranges: &[(char, char)]) -> P<ast::Expr> {
453453
let mut arms = ranges.iter().map(|&(start, end)| {
454454
let pat = self.cx.pat(
455-
self.sp, ast::PatRange(
455+
self.sp, ast::PatKind::Range(
456456
quote_expr!(self.cx, $start), quote_expr!(self.cx, $end)));
457457
self.cx.arm(self.sp, vec!(pat), quote_expr!(self.cx, true))
458458
}).collect::<Vec<ast::Arm>>();
@@ -513,7 +513,7 @@ fn exec<'t>(
513513
pats: vec!(P(ast::Pat{
514514
id: ast::DUMMY_NODE_ID,
515515
span: self.sp,
516-
node: ast::PatWild,
516+
node: ast::PatKind::Wild,
517517
})),
518518
guard: None,
519519
body: body,

0 commit comments

Comments
 (0)