Back to Rust Analyzer

Highlight Rainbow

crates/ide/src/syntax_highlighting/test_data/highlight_rainbow.html

2026-05-04214 B
Original Source
fn main() {
    let hello = "hello";
    let x = hello.to_string();
    let y = hello.to_string();

    let x = "other color please!";
    let y = x.to_string();
}

fn bar() {
    let mut hello = "hello";
}