diff options
author | Nick Spain <[email protected]> | 2021-01-01 04:33:06 +0000 |
---|---|---|
committer | Nick Spain <[email protected]> | 2021-01-02 10:53:52 +0000 |
commit | 68b4efd53601fd67fbba4a2aa25ac94ecff58e5e (patch) | |
tree | aa3056d3c8d2c1cfca3e54a8c00cb02b449eb3c4 /crates/hir_ty/src/primitive.rs | |
parent | c936e4b86fd5de8e9709cd01547a69054cdec91b (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_ty/src/primitive.rs')
0 files changed, 0 insertions, 0 deletions