From 72b9a4fbd3c12f3250b9157a1d44230e04ec8b22 Mon Sep 17 00:00:00 2001 From: Kevaundray Wedderburn Date: Wed, 6 Jan 2021 20:15:48 +0000 Subject: Change <|> to $0 - Rebase --- crates/ide/src/expand_macro.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/ide/src/expand_macro.rs') diff --git a/crates/ide/src/expand_macro.rs b/crates/ide/src/expand_macro.rs index 8d75e0f05..ffb3a6f7d 100644 --- a/crates/ide/src/expand_macro.rs +++ b/crates/ide/src/expand_macro.rs @@ -144,7 +144,7 @@ macro_rules! foo { macro_rules! baz { () => { foo!(); } } -f<|>oo!(); +f$0oo!(); "#, expect![[r#" foo @@ -165,7 +165,7 @@ macro_rules! foo { } } } -f<|>oo!(); +f$0oo!(); "#, expect![[r#" foo @@ -192,7 +192,7 @@ macro_rules! match_ast { } fn main() { - mat<|>ch_ast! { + mat$0ch_ast! { match container { ast::TraitDef(it) => {}, ast::ImplDef(it) => {}, @@ -226,7 +226,7 @@ macro_rules! match_ast { fn main() { let p = f(|it| { - let res = mat<|>ch_ast! { match c {}}; + let res = mat$0ch_ast! { match c {}}; Some(res) })?; } @@ -250,7 +250,7 @@ macro_rules! foo { } fn main() { - let res = fo<|>o!(); + let res = fo$0o!(); } "#, expect![[r#" @@ -272,7 +272,7 @@ macro_rules! foo { } fn main() { - let res = fo<|>o!(); + let res = fo$0o!(); } "#, expect![[r#" -- cgit v1.2.3