Skip to content

Commit b293a66

Browse files
committed
macro method unit test case fix
1 parent c654fd1 commit b293a66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/ext/expand.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,9 +1531,9 @@ mod test {
15311531
}
15321532

15331533
// macro_rules in method position. Sadly, unimplemented.
1534-
#[ignore] #[test] fn macro_in_method_posn(){
1534+
#[test] fn macro_in_method_posn(){
15351535
expand_crate_str(
1536-
"macro_rules! my_method (() => fn thirteen(&self) -> int {13})
1536+
"macro_rules! my_method (() => (fn thirteen(&self) -> int {13}))
15371537
struct A;
15381538
impl A{ my_method!()}
15391539
fn f(){A.thirteen;}".to_string());

0 commit comments

Comments
 (0)