Skip to content

Commit 5bd2e0c

Browse files
committed
---
yaml --- r: 235749 b: refs/heads/stable c: 2d68d09 h: refs/heads/master i: 235747: 600a033 v: v3
1 parent 587dc53 commit 5bd2e0c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 44bb0dd4a3bdd84b81dcf537d161a9dd9e9068ea
32+
refs/heads/stable: 2d68d09b4679018d0ba3faf41d239251991bf17b
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/libsyntax/ext/pushpop_safe.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,24 @@ enum PushPop { Push, Pop }
4848

4949
pub fn expand_push_unsafe<'cx>(cx: &'cx mut ExtCtxt, sp: Span, tts: &[ast::TokenTree])
5050
-> Box<base::MacResult+'cx> {
51-
feature_gate::check_for_pushpop_syntax(
52-
cx.ecfg.features, &cx.parse_sess.span_diagnostic, sp);
5351
expand_pushpop_unsafe(cx, sp, tts, PushPop::Push)
5452
}
5553

5654
pub fn expand_pop_unsafe<'cx>(cx: &'cx mut ExtCtxt, sp: Span, tts: &[ast::TokenTree])
5755
-> Box<base::MacResult+'cx> {
58-
feature_gate::check_for_pushpop_syntax(
59-
cx.ecfg.features, &cx.parse_sess.span_diagnostic, sp);
6056
expand_pushpop_unsafe(cx, sp, tts, PushPop::Pop)
6157
}
6258

6359
fn expand_pushpop_unsafe<'cx>(cx: &'cx mut ExtCtxt, sp: Span, tts: &[ast::TokenTree],
6460
pp: PushPop) -> Box<base::MacResult+'cx> {
61+
feature_gate::check_for_pushpop_syntax(
62+
cx.ecfg.features, &cx.parse_sess.span_diagnostic, sp);
63+
6564
let mut exprs = match get_exprs_from_tts(cx, sp, tts) {
6665
Some(exprs) => exprs.into_iter(),
6766
None => return DummyResult::expr(sp),
6867
};
68+
6969
let expr = match (exprs.next(), exprs.next()) {
7070
(Some(expr), None) => expr,
7171
_ => {

0 commit comments

Comments
 (0)