mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Move to upstream macro_rules!
model
This commit is contained in:
parent
39aae835fd
commit
c1cb595382
36 changed files with 325 additions and 275 deletions
|
@ -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!(); }
|
||||
"#,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue