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

@ -135,7 +135,7 @@ mod tests {
"frobnicate!",
r#"
//- /main.rs crate:main deps:foo
use foo::<|>;
use foo::$0;
//- /foo/lib.rs crate:foo
#[macro_export]
macro_rules! frobnicate { () => () }
@ -149,7 +149,7 @@ use foo::frobnicate;
"frobnicate!",
r#"
macro_rules! frobnicate { () => () }
fn main() { frob<|>!(); }
fn main() { frob$0!(); }
"#,
r#"
macro_rules! frobnicate { () => () }
@ -173,7 +173,7 @@ fn main() { frobnicate!(); }
/// ```
macro_rules! vec { () => {} }
fn fn main() { v<|> }
fn fn main() { v$0 }
"#,
r#"
/// Creates a [`Vec`] containing the arguments.
@ -198,7 +198,7 @@ fn fn main() { vec![$0] }
/// Don't call `fooo!()` `fooo!()`, or `_foo![]` `_foo![]`,
/// call as `let _=foo! { hello world };`
macro_rules! foo { () => {} }
fn main() { <|> }
fn main() { $0 }
"#,
r#"
/// Foo