mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
format string highlighting: handle hex + debug type specifier
This commit is contained in:
parent
e8c803937c
commit
a15dda48c6
3 changed files with 26 additions and 0 deletions
|
@ -340,6 +340,8 @@ fn main() {
|
|||
|
||||
println!("{\x41}", A = 92);
|
||||
println!("{ничоси}", ничоси = 92);
|
||||
|
||||
println!("{:x?} {} ", thingy, n2);
|
||||
}"#
|
||||
.trim(),
|
||||
expect_file!["./test_data/highlight_strings.html"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue