rust/crates
bors 47b4dd7273 Auto merge of #15923 - tamasfe:feat/better-ignored-macros2, r=Veykril
feat: ignored and disabled macro expansion

Supersedes #15117, I was having some conflicts after a rebase and since I didn't remember much of it I started clean instead.

The end result is pretty much the same as the linked PR, but instead of proc macro lookups, I marked the expanders that explicitly cannot be expanded and we shouldn't even attempt to do so.

## Unresolved questions

- [ ] I introduced a `DISABLED_ID` next to `DUMMY_ID` in `hir-expand`'s `ProcMacroExpander`, that is effectively exactly the same thing with slightly different semantics, dummy macros are not (yet) expanded probably due to errors, while not expanding disabled macros is part of the usual flow. I'm not sure if it's the right way to handle this, I also thought of just adding a flag instead of replacing the macro ID, so that the disabled macro can still be expanded for any reason if needed.
2024-02-12 12:42:45 +00:00
..
base-db feat: ignored and disabled macro expansion 2024-02-12 12:50:40 +01:00
cfg
flycheck internal: tool discovery prefers sysroot tools 2024-02-12 12:08:18 +01:00
hir internal: Remove SELF_REF hack for self referential SyntaxContexts 2024-02-10 16:20:02 +01:00
hir-def Auto merge of #15923 - tamasfe:feat/better-ignored-macros2, r=Veykril 2024-02-12 12:42:45 +00:00
hir-expand Encode disabled proc-macros via boolean flag, not special Expander 2024-02-12 13:39:38 +01:00
hir-ty Auto merge of #16537 - Veykril:sysroot-tools, r=Veykril 2024-02-12 11:26:53 +00:00
ide Auto merge of #16525 - Veykril:item-loc, r=Veykril 2024-02-10 10:47:37 +00:00
ide-assists Auto merge of #16524 - evertedsphere:swann/trait-bound-dyn, r=Veykril 2024-02-10 10:59:46 +00:00
ide-completion Auto merge of #16525 - Veykril:item-loc, r=Veykril 2024-02-10 10:47:37 +00:00
ide-db Auto merge of #16525 - Veykril:item-loc, r=Veykril 2024-02-10 10:47:37 +00:00
ide-diagnostics Prefer debug! to never! and add regression test 2024-02-11 23:46:05 +01:00
ide-ssr ide-ssr: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
intern
limit
load-cargo Encode disabled proc-macros via boolean flag, not special Expander 2024-02-12 13:39:38 +01:00
mbe fix: Fix macro transcriber emitting incorrect lifetime tokens 2024-02-11 12:10:38 +01:00
parser parser: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
paths
proc-macro-api proc-macro-api: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
proc-macro-srv Auto merge of #16470 - Veykril:clippy-disallow, r=lnicola 2024-02-05 17:20:43 +00:00
proc-macro-srv-cli
profile
project-model internal: tool discovery prefers sysroot tools 2024-02-12 12:08:18 +01:00
rust-analyzer Encode disabled proc-macros via boolean flag, not special Expander 2024-02-12 13:39:38 +01:00
salsa internal: Remove SELF_REF hack for self referential SyntaxContexts 2024-02-10 16:20:02 +01:00
sourcegen sourcegen: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
span internal: Remove SELF_REF hack for self referential SyntaxContexts 2024-02-10 16:20:02 +01:00
stdx
syntax syntax: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
test-fixture Encode disabled proc-macros via boolean flag, not special Expander 2024-02-12 13:39:38 +01:00
test-utils test-utils: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
text-edit text-edit: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:41 +09:00
toolchain internal: tool discovery prefers sysroot tools 2024-02-12 12:08:18 +01:00
tt fix: Fix macro transcriber emitting incorrect lifetime tokens 2024-02-11 12:10:38 +01:00
vfs vfs: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
vfs-notify