mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Change <|> to $0 - Rebase
This commit is contained in:
parent
171c3c08fe
commit
72b9a4fbd3
110 changed files with 1745 additions and 1765 deletions
|
@ -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#"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue