Skip to content

Commit 5b9cbbb

Browse files
committed
Merge pull request #4452 from apasel422/cond-macro-fix
libsyntax: Fix name generation in condition! macro
2 parents d707be6 + 9281008 commit 5b9cbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ext/expand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ fn core_macros() -> ~str {
307307

308308
pub const cond : ::core::condition::Condition<$in,$out> =
309309
::core::condition::Condition {
310-
name: stringify!(c),
310+
name: stringify!($c),
311311
key: key
312312
};
313313
}

0 commit comments

Comments
 (0)