mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-17 02:42:54 +00:00
Re-implement rust string highlighting via tool attribute
This commit is contained in:
parent
897f7e579e
commit
bf669dab84
72 changed files with 386 additions and 173 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue