Open
Description
rust-analyzer version: 0.3.2500-standalone (a207299 2025-06-15)
rustc version: 1.87
editor or extension: VSCode
code snippet to reproduce:
const HERE: &str = "this is a string literal"
fn foo() -> String {
format!(r#"The brackets \{HERE} are load-bearing"#)
}
Hi!
In the example above, my rust-analyzer will "brown out" the {HERE} part even though the \ does not escape the bracket when r## is used.