Change <|> to $0 - Rebase

This commit is contained in:
Kevaundray Wedderburn 2021-01-06 20:15:48 +00:00
parent 171c3c08fe
commit 72b9a4fbd3
110 changed files with 1745 additions and 1765 deletions

View file

@ -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#"