Add todo! & unimplemented! to format macros list

For some reason, the `todo!` and `unimplemented!` macros were not included in the list of format-supporting macros list. Since they seem to behave exactly the same as all others like `write!` and `assert!`, adding them now.
This commit is contained in:
Yuri Astrakhan 2025-02-20 22:59:05 -05:00
parent 732e3290de
commit 373f809c1d

View file

@ -30,6 +30,8 @@ const FORMAT_MACRO_DIAG_ITEMS: &[Symbol] = &[
sym::print_macro,
sym::println_macro,
sym::std_panic_macro,
sym::todo_macro,
sym::unimplemented_macro,
sym::write_macro,
sym::writeln_macro,
];