diff --git a/crates/ide/src/syntax_highlighting/test_data/highlight_strings.html b/crates/ide/src/syntax_highlighting/test_data/highlight_strings.html index 1f00cba25b..f6d9d9aa14 100644 --- a/crates/ide/src/syntax_highlighting/test_data/highlight_strings.html +++ b/crates/ide/src/syntax_highlighting/test_data/highlight_strings.html @@ -83,7 +83,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd #[rustc_builtin_macro] macro_rules! assert {} -macro_rules! todo { +macro_rules! toho { () => ($crate::panic!("not yet implemented")); ($($arg:tt)+) => ($crate::panic!("not yet implemented: {}", $crate::format_args!($($arg)+))); } @@ -141,5 +141,5 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd panic!("more {}", 1); assert!(true, "{}", 1); assert!(true, "{} asdasd", 1); - todo!("{}fmt", 0); + toho!("{}fmt", 0); } \ No newline at end of file diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs index 21f28cc8bd..f5f7d8fe95 100644 --- a/crates/ide/src/syntax_highlighting/tests.rs +++ b/crates/ide/src/syntax_highlighting/tests.rs @@ -478,7 +478,7 @@ macro_rules! panic {} #[rustc_builtin_macro] macro_rules! assert {} -macro_rules! todo { +macro_rules! toho { () => ($crate::panic!("not yet implemented")); ($($arg:tt)+) => ($crate::panic!("not yet implemented: {}", $crate::format_args!($($arg)+))); } @@ -536,7 +536,7 @@ fn main() { panic!("more {}", 1); assert!(true, "{}", 1); assert!(true, "{} asdasd", 1); - todo!("{}fmt", 0); + toho!("{}fmt", 0); }"# .trim(), expect_file!["./test_data/highlight_strings.html"],