rust-analyzer/crates
Nick Spain 14d0db0759 HasSource::source_old -> HasSource::source for places where proc-macros were special cased
In #6901 some special case handling for proc-macros was introduced to
prevent panicing as they have no AST. Now the new HasSource::source
method is used that returns an option.

Generally this was a pretty trivial change, the only thing of much
interest is that `hir::MacroDef` now implements `TryToNav` not `ToNav`
as this allows us to handle `HasSource::source` now returning an option.
2021-01-02 21:53:52 +11:00
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Mark HasSource::source_old as deprecated but allow at all call sites 2021-01-02 21:53:51 +11:00
base_db Add support for Rust 2021. 2021-01-01 17:22:23 +01:00
cfg Remove some redundant allocations 2020-12-12 12:27:09 -05:00
completion HasSource::source_old -> HasSource::source for places where proc-macros were special cased 2021-01-02 21:53:52 +11:00
flycheck Pin cargo_metadata 2020-11-25 10:11:53 -05:00
hir HasSource::source_old -> HasSource::source for places where proc-macros were special cased 2021-01-02 21:53:52 +11:00
hir_def Merge #7080 2021-01-01 13:45:10 +00:00
hir_expand Fix == in in format causes mismatched-arg-count 2020-12-31 17:59:29 +08:00
hir_ty Don't emit arg count diagnostics for method calls with unknown receiver 2021-01-01 20:49:18 +01:00
ide HasSource::source_old -> HasSource::source for places where proc-macros were special cased 2021-01-02 21:53:52 +11:00
ide_db Mark HasSource::source_old as deprecated but allow at all call sites 2021-01-02 21:53:51 +11:00
mbe Remove unused clones in mbe 2020-12-31 02:58:41 +08:00
parser Fix mbe fail to pass expr with attr 2020-12-28 19:53:00 +08:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Remove serde_stacker which depends on cc 2021-01-01 15:26:55 +08:00
proc_macro_srv Fix spacing in proc-macro tokens to_string 2020-12-31 13:36:19 +08:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Deny unreachable-pub 2020-11-02 14:07:08 +01:00
project_model Add support for Rust 2021. 2021-01-01 17:22:23 +01:00
rust-analyzer Mark HasSource::source_old as deprecated but allow at all call sites 2021-01-02 21:53:51 +11:00
ssr Remove some unneeded string allocations 2020-12-31 10:13:14 +01:00
stdx add open Cargo.toml action 2020-11-12 17:48:07 -08:00
syntax Update crates 2020-12-30 10:39:50 -05:00
test_utils Make config.rs a single source of truth for configuration. 2020-12-08 19:25:41 +03:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Move TokenExpander to base_db and rename it 2020-12-27 15:29:47 +01:00
vfs Merge #6785 2020-12-09 16:32:03 +00:00
vfs-notify Follow symlinks when walking project trees 2020-10-15 14:22:36 -04:00