mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Add const_format_args!
builtin macro, fix highlighting
This commit is contained in:
parent
12fe0e4ffe
commit
b994469a13
5 changed files with 35 additions and 10 deletions
|
@ -103,6 +103,7 @@ register_builtin! {
|
|||
(assert, Assert) => assert_expand,
|
||||
(stringify, Stringify) => stringify_expand,
|
||||
(format_args, FormatArgs) => format_args_expand,
|
||||
(const_format_args, ConstFormatArgs) => format_args_expand,
|
||||
// format_args_nl only differs in that it adds a newline in the end,
|
||||
// so we use the same stub expansion for now
|
||||
(format_args_nl, FormatArgsNl) => format_args_expand,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue