aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/lib.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-06-14 13:43:59 +0100
committerAleksey Kladov <[email protected]>2021-06-14 13:43:59 +0100
commite696188672be804889f012e19b1c799cc59adee2 (patch)
treec7eb9b10b0122c5a39a66b2c044743d8d067218c /crates/hir_def/src/lib.rs
parenta274ae384e38be5ad1b23cd2b7f2120e5a284209 (diff)
fix: don't use display-related functionality where semantics matters
NavigationTarget is strictly a UI-level thing -- it describes where the cursor should be placed when the user presses goto definition. It doesn't make any semantic guaratees about rage and focus range and, as such, is not suitable for driving renames.
Diffstat (limited to 'crates/hir_def/src/lib.rs')
0 files changed, 0 insertions, 0 deletions