rust/crates
bors[bot] 3b1692c3e8
Merge #8443 #8446
8443: Rewrite `#[derive]` removal code to be based on AST r=jonas-schievink a=jonas-schievink

We now remove any `#[derive]` before and including the one we want to expand, in the `macro_arg` query.

The same infra will be needed by attribute macros (except we only remove the attribute we're expanding, not any preceding ones).

Part of https://github.com/rust-analyzer/rust-analyzer/issues/8434 (doesn't implement the cfg-expansion yet, because that's more difficult)

8446: Undo path resolution hack for extern prelude r=jonas-schievink a=jonas-schievink

Reverts the change made in https://github.com/rust-analyzer/rust-analyzer/pull/7959

We don't populate the extern prelude for block DefMaps anymore,
so this is unnecessary

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2021-04-09 12:53:49 +00:00
..
base_db Adjust fixture docs a bit 2021-04-06 21:42:27 +03:00
cfg Make ast_to_token_tree infallible 2021-04-04 01:46:45 +02:00
flycheck
hir Improve indexing of impls 2021-04-09 11:21:31 +02:00
hir_def Merge #8443 #8446 2021-04-09 12:53:49 +00:00
hir_expand Use name![derive] 2021-04-09 14:50:42 +02:00
hir_ty More cleanups / module docs 2021-04-09 14:40:58 +02:00
ide Shrink unlinked-file diagnostic to 3 characters 2021-04-09 14:22:38 +02:00
ide_assists Merge #8207 2021-04-08 05:46:15 +00:00
ide_completion Fix typo 2021-04-06 19:38:59 -04:00
ide_db Avoid O(n²) when constructing AttrSourceMap 2021-04-06 22:25:44 +02:00
ide_ssr syntax: return owned string instead of leaking string 2021-03-26 18:30:59 +01:00
mbe Make ast_to_token_tree infallible 2021-04-04 01:46:45 +02:00
parser
paths Clearer naming 2021-04-06 16:22:26 +03:00
proc_macro_api
proc_macro_srv Fix parse u128 bug in proc-macro 2021-03-31 19:50:36 +08:00
proc_macro_test
profile internal: revive google_cpu_profile infra 2021-03-30 17:29:43 +03:00
project_model feat: show errors from cargo metadata and initial cargo check in the status bar 2021-04-06 18:08:05 +03:00
rust-analyzer Bump lsp-types and syn 2021-04-08 10:57:47 -04:00
stdx feat: show errors from cargo metadata and initial cargo check in the status bar 2021-04-06 18:08:05 +03:00
syntax Update crates 2021-04-07 11:39:33 -04:00
test_utils Adjust fixture docs a bit 2021-04-06 21:42:27 +03:00
text_edit
toolchain
tt
vfs Avoid duplicating VfsPath in vfs::path_interner::PathInterner by using an IndexSet 2021-04-06 16:03:57 +03:00
vfs-notify