Re-implement rust string highlighting via tool attribute

This commit is contained in:
Lukas Wirth 2025-01-10 13:49:35 +01:00
parent 897f7e579e
commit bf669dab84
72 changed files with 386 additions and 173 deletions

View file

@ -142,7 +142,7 @@ mod tests {
};
#[track_caller]
fn generic_param_name_hints_always(ra_fixture: &str) {
fn generic_param_name_hints_always(#[rust_analyzer::rust_fixture] ra_fixture: &str) {
check_with_config(
InlayHintsConfig {
generic_parameter_hints: GenericParameterHints {
@ -157,7 +157,7 @@ mod tests {
}
#[track_caller]
fn generic_param_name_hints_const_only(ra_fixture: &str) {
fn generic_param_name_hints_const_only(#[rust_analyzer::rust_fixture] ra_fixture: &str) {
check_with_config(
InlayHintsConfig {
generic_parameter_hints: GenericParameterHints {