mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
fix: Expand eager macros to delimited comma separated expression list
This commit is contained in:
parent
712b53865f
commit
7c765d9f9e
10 changed files with 83 additions and 6 deletions
|
@ -51,6 +51,9 @@ macro_rules! compile_error { () => {} }
|
|||
|
||||
compile_error!("compile_error macro works");
|
||||
//^^^^^^^^^^^^^ error: compile_error macro works
|
||||
|
||||
compile_error! { "compile_error macro braced works" }
|
||||
//^^^^^^^^^^^^^ error: compile_error macro braced works
|
||||
"#,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue