mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Work around tidy check
This commit is contained in:
parent
b994469a13
commit
4465685878
2 changed files with 4 additions and 4 deletions
|
@ -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"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue