diff options
author | Paul Daniel Faria <[email protected]> | 2020-07-31 03:31:53 +0100 |
---|---|---|
committer | Paul Daniel Faria <[email protected]> | 2020-08-16 15:26:16 +0100 |
commit | 3456e2eec7c1e18734f8fa41924a83b4c676dc00 (patch) | |
tree | 22c470056daeb136c64966cc4f4c976a8f45bf00 /crates/proc_macro_srv/src/tests | |
parent | a044ff0138d6bff9406b94de89fde43e7672ee1b (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/proc_macro_srv/src/tests')
0 files changed, 0 insertions, 0 deletions