Skip to content

Commit 60755e6

Browse files
committed
---
yaml --- r: 275363 b: refs/heads/master c: ca1d29c h: refs/heads/master i: 275361: 7e65a34 275359: 50588cd
1 parent c7b2967 commit 60755e6

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,5 +1,5 @@
11
---
2-
refs/heads/master: 974f1eff58d01ce0bb5583adf0066a84d8eed812
2+
refs/heads/master: ca1d29c4debb5a58d9c2a9322eea740ca558ade5
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
44
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/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)