Move to upstream macro_rules! model

This commit is contained in:
Jonas Schievink 2020-12-15 15:37:37 +01:00
parent 39aae835fd
commit c1cb595382
36 changed files with 325 additions and 275 deletions

View file

@ -144,7 +144,7 @@ mod tests {
use foo::<|>;
//- /foo/lib.rs crate:foo
#[macro_export]
macro_rules frobnicate { () => () }
macro_rules! frobnicate { () => () }
"#,
r#"
use foo::frobnicate;
@ -154,11 +154,11 @@ use foo::frobnicate;
check_edit(
"frobnicate!",
r#"
macro_rules frobnicate { () => () }
macro_rules! frobnicate { () => () }
fn main() { frob<|>!(); }
"#,
r#"
macro_rules frobnicate { () => () }
macro_rules! frobnicate { () => () }
fn main() { frobnicate!(); }
"#,
);