aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/traits
diff options
context:
space:
mode:
authorPaul Daniel Faria <[email protected]>2020-07-31 03:31:53 +0100
committerPaul Daniel Faria <[email protected]>2020-08-16 15:26:16 +0100
commit3456e2eec7c1e18734f8fa41924a83b4c676dc00 (patch)
tree22c470056daeb136c64966cc4f4c976a8f45bf00 /crates/hir_ty/src/traits
parenta044ff0138d6bff9406b94de89fde43e7672ee1b (diff)
Add new method to Semantics, method_receiver_kind, which returns the kind of self
The options are Shared, Mutable, Consuming, and Copied. Use this to add proper highlighting to methods based on usage.
Diffstat (limited to 'crates/hir_ty/src/traits')
0 files changed, 0 insertions, 0 deletions