rust/crates/rust-analyzer
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
..
src Merge #5643 2020-08-19 11:27:02 +00:00
test_data Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00
tests/rust-analyzer Revive cache cleaning 2020-08-18 11:07:21 +02:00
build.rs Fix fmt 2020-06-19 02:25:07 +08:00
Cargo.toml Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00