rust/crates
bors[bot] 49922cb2c3
Merge #8885 #8887
8885: internal: greatly simplify eager macro representation r=jonas-schievink a=jonas-schievink

- Share structures with lazy macros, make both use `MacroCallLoc`.
- Remove `intern_eager_expansion`, `EagerCallLoc`, `EagerMacroId`, and *many* matches on `MacroCallId`.
- Make a lot of FIXMEs obsolete since the code no longer distinguishes between eager and lazy macros.
- Add `EagerCallInfo`, which is `Some` for calls to eager macros and holds the argument or expansion result and the included file.

8887: fix: fix derive collection after unresolved attribute fallback r=jonas-schievink a=jonas-schievink

Fixes https://github.com/rust-analyzer/rust-analyzer/pull/8882#issuecomment-844379170

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2021-05-19 19:07:05 +00:00
..
base_db Add one more profiling span to add_dep 2021-04-22 21:48:17 +03:00
cfg internal: expose cfg attrs from hir::Crate 2021-05-07 23:50:24 +03:00
flycheck Use package root as cargo check working directory 2021-05-12 19:50:52 -07:00
hir Simplify eager macro representation 2021-05-19 20:19:08 +02:00
hir_def Merge #8885 #8887 2021-05-19 19:07:05 +00:00
hir_expand Clarify field name 2021-05-19 20:23:26 +02:00
hir_ty Check patterns for type match recursively. 2021-05-19 11:08:59 +05:00
ide Fix prepare_rename failing for modules 2021-05-19 14:19:44 +02:00
ide_assists add_explicit_type respects @ patterns 2021-05-19 23:27:51 +05:00
ide_completion simplify 2021-05-15 01:09:53 +02:00
ide_db Simplify eager macro representation 2021-05-19 20:19:08 +02:00
ide_ssr
mbe Merge #8560 2021-04-18 02:14:27 +00:00
parser Add = to pattern recovery 2021-05-08 23:14:08 +02:00
paths
proc_macro_api Replace memmap to memmap2 in proc_macro_api 2021-05-03 20:20:47 -04:00
proc_macro_srv
proc_macro_test
profile Use package renaming so source doesn't say tikv 2021-05-07 12:41:07 -07:00
project_model Use package root as cargo check working directory 2021-05-12 19:50:52 -07:00
rust-analyzer feat: allow clients to feature detect symbol filtering 2021-05-19 13:28:58 +03:00
stdx internal: use API stabilized in 1.52 2021-05-06 20:12:15 +03:00
syntax fix: don't add extra whitespace around fields 2021-05-17 12:45:01 +03:00
test_utils internal: use API stabilized in 1.52 2021-05-06 20:12:15 +03:00
text_edit
toolchain
tt
vfs
vfs-notify