Skip to content

Commit ccbac34

Browse files
committed
---
yaml --- r: 277127 b: refs/heads/try c: ca1d29c h: refs/heads/master i: 277125: 4fb806a 277123: d40e028 277119: 7eaf35e
1 parent 6d17a3f commit ccbac34

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 6dbb0e86aec11050480beb76eade6fb805010ba7
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
4-
refs/heads/try: 974f1eff58d01ce0bb5583adf0066a84d8eed812
4+
refs/heads/try: ca1d29c4debb5a58d9c2a9322eea740ca558ade5
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/test/compile-fail/issue-32922.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,18 @@ macro_rules! bar { // test issue #31856
2424
)
2525
}
2626

27+
macro_rules! baz {
28+
($i:ident) => {
29+
let mut $i = 2;
30+
$i = $i + 1;
31+
}
32+
}
33+
2734
#[rustc_error]
2835
fn main() { //~ ERROR compilation successful
2936
foo! {};
3037
bar! {};
38+
39+
let mut a = true;
40+
baz!(a);
3141
}

0 commit comments

Comments
 (0)