rust/crates/rust-analyzer/src
bors[bot] 529ca7e5e0
Merge #5643
5643: Add new consuming modifier, apply consuming and mutable to methods r=matklad a=Nashenas88

This adds a new `consuming` semantic modifier for syntax highlighters.

This also emits `mutable` and `consuming` in two cases:

- When a method takes `&mut self`, then it now has `function.mutable` emitted.
- When a method takes `self`, and the type of `Self` is not `Copy`, then `function.consuming` is emitted.

CC @flodiebold 

Co-authored-by: Paul Daniel Faria <Nashenas88@users.noreply.github.com>
2020-08-19 11:27:02 +00:00
..
bin Rename ra_ssr -> ssr 2020-08-13 17:02:44 +02:00
cli Align diagnostics config with the rest of rust-analyzer 2020-08-18 16:03:15 +02:00
diagnostics Align diagnostics config with the rest of rust-analyzer 2020-08-18 16:03:15 +02:00
caps.rs Handle semantic token deltas 2020-07-31 20:57:53 -04:00
cargo_target_spec.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
cli.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
config.rs Align diagnostics config with the rest of rust-analyzer 2020-08-18 16:03:15 +02:00
diagnostics.rs Align diagnostics config with the rest of rust-analyzer 2020-08-18 16:03:15 +02:00
dispatch.rs Minor 2020-06-26 00:27:57 +02:00
document.rs Handle semantic token deltas 2020-07-31 20:57:53 -04:00
from_proto.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
global_state.rs Make disabled diagnostics an argument of corresponding function 2020-08-18 13:32:29 +03:00
handlers.rs Merge #5798 2020-08-18 14:51:10 +00:00
lib.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
line_endings.rs Simplify 2020-06-28 01:30:45 +03:00
lsp_ext.rs Fix StatusNotification 2020-08-17 14:56:27 +03:00
lsp_utils.rs Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
main_loop.rs Align diagnostics config with the rest of rust-analyzer 2020-08-18 16:03:15 +02:00
markdown.rs Rename folder 2020-02-18 12:37:45 +01:00
reload.rs Merge #5782 2020-08-17 14:23:03 +00:00
request_metrics.rs Flatten module hierarchy 2020-06-24 18:57:30 +02:00
semantic_tokens.rs Add new HighlightModifier variant, Consuming 2020-08-16 10:22:51 -04:00
thread_pool.rs Move TaskPool into GlobalState 2020-06-25 15:35:42 +02:00
to_proto.rs Merge #5643 2020-08-19 11:27:02 +00:00