rust/crates
bors[bot] 6f3c8dc11d
Merge #5345
5345: Semantic Highlighting: Emit mutable modifier for 'self' when applicable r=matklad a=Veykril

This PR implements emitting the mutable modifier for the self keyword when applicable for semantic highlighting as mentioned in #5041. The rendered highlighting test html file:
![firefox_5lbsFNBqsT](https://user-images.githubusercontent.com/3757771/87346245-a5a07280-c551-11ea-9051-e5901255f8c9.png)
As you can see it does not emit the modifier when `self` is not used in a mutable context even if it is declared mutably in the enclosing function. I'm not sure if this is actually something wanted or not.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-07-15 10:00:10 +00:00
..
expect Add a license field to all the crates 2020-07-14 10:57:26 +09:00
flycheck Add a license field to all the crates 2020-07-14 10:57:26 +09:00
paths Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_arena Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_assists Move remove_bounds to edit.rs 2020-07-14 13:33:37 +02:00
ra_cfg Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_db Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_fmt Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_hir Merge #5355 2020-07-14 09:18:17 +00:00
ra_hir_def Update ItemTree snapshots 2020-07-14 20:27:48 +02:00
ra_hir_expand Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_hir_ty Add FIXME 2020-07-14 20:27:48 +02:00
ra_ide Merge #5345 2020-07-15 10:00:10 +00:00
ra_ide_db Fix classify_name_ref on multi-path macro calls 2020-07-14 17:23:33 +02:00
ra_mbe Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_parser Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_proc_macro Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_proc_macro_srv Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_prof Merge #5354 2020-07-15 09:43:08 +00:00
ra_project_model Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_ssr SSR: Update tests so that all paths in patterns can be resolved 2020-07-04 08:56:58 +10:00
ra_syntax Move remove_bounds to edit.rs 2020-07-14 13:33:37 +02:00
ra_text_edit Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_toolchain Add a license field to all the crates 2020-07-14 10:57:26 +09:00
ra_tt Add a license field to all the crates 2020-07-14 10:57:26 +09:00
rust-analyzer Merge #5354 2020-07-15 09:43:08 +00:00
stdx Add a license field to all the crates 2020-07-14 10:57:26 +09:00
test_utils Allow multiline annotations 2020-07-14 14:58:10 +02:00
vfs Minor, push allocations down 2020-07-14 15:57:10 +02:00
vfs-notify Add a license field to all the crates 2020-07-14 10:57:26 +09:00