mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Merge pull request #4452 from apasel422/cond-macro-fix
libsyntax: Fix name generation in condition! macro
This commit is contained in:
@@ -307,7 +307,7 @@ fn key(_x: @::core::condition::Handler<$in,$out>) { }
|
||||
|
||||
pub const cond : ::core::condition::Condition<$in,$out> =
|
||||
::core::condition::Condition {
|
||||
name: stringify!(c),
|
||||
name: stringify!($c),
|
||||
key: key
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user