Skip to content

Commit 9281008

Browse files
committed
libsyntax: Fix name generation in condition! macro
1 parent f99d6ca commit 9281008

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)