diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-03 15:26:07 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-03 15:26:07 +0100 |
commit | 7f9c4a59d9a84cd8c734286937439b5cd215be27 (patch) | |
tree | 10ef9c49e6667d0966c8ecfe9766925a0f6c966f /crates/syntax/test_data/parser/fragments/expr/ok | |
parent | 1dbdac8f518e5d3400a0bbc0478a606ab70d8a44 (diff) | |
parent | cc762c30df9d587bf36f98d06295e6cf42be6e40 (diff) |
Merge #9130
9130: Prefix/suffix parameter inlay hint hiding heuristic is more strict r=Veykril a=Veykril
Instead of just plainly checking prefix/suffix of the argument string to the parameter name we only check for prefixes and suffixes if they are split apart via an underscore meaning, with the argument `foo`, it will be hidden for the parameter name `foo_bar` but not for `foobar`.
bors r+
Closes https://github.com/rust-analyzer/rust-analyzer/issues/8878
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/parser/fragments/expr/ok')
0 files changed, 0 insertions, 0 deletions