aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def
diff options
context:
space:
mode:
authorNick Spain <[email protected]>2021-01-01 04:33:06 +0000
committerNick Spain <[email protected]>2021-01-02 10:53:52 +0000
commit68b4efd53601fd67fbba4a2aa25ac94ecff58e5e (patch)
treeaa3056d3c8d2c1cfca3e54a8c00cb02b449eb3c4 /crates/hir_def
parentc936e4b86fd5de8e9709cd01547a69054cdec91b (diff)
Handle not finding range in Definition::search_scope
The `LifetimeParam` and `Local` variants use `source()` to find their range. Now that `source()` returns an `Option` we need to handle the `None` case.
Diffstat (limited to 'crates/hir_def')
0 files changed, 0 insertions, 0 deletions