Open
Description
The new argument interpolation highlighting from #220 handles the macros eprint!
, eprintln!
, format!
, print!
, println!
, write!
and writeln!
.
It can be extended to also handle other macros that take format strings. I'm including a list below (I hope I didn't miss any).
- First argument can be format string (like
eprint!
,eprintln!
,format!
,print!
,println!
)format_args!
panic!
unreachable!
unimplemented!
(not in 1.19.0, but in the beta that is to become 1.20.0)
- Second argument can be format string (like
write!
,writeln!
):assert!
debug_assert!
- Third argument can be format string:
assert_eq!
assert_ne!
debug_assert_eq!
debug_assert_ne!