rust/crates
bors 39ebc378c2 Auto merge of #15436 - Veykril:temp-alloc, r=Veykril
Preserve `resolve_obligations_as_possible` temporary allocation across calls

This saves ~20ms in the highlihting bench on my machine
```
  284ms - highlight
      150ms - infer:wait @ per_query_memory_usage
          150ms - infer_query
                0   - PerNs::filter_visibility (436 calls)
                0   - crate_def_map:wait (336 calls)
                2ms - deref_by_trait (909 calls)
                0   - generic_params_query (1 calls)
                0   - inherent_impls_in_block_query (1 calls)
              107ms - resolve_obligations_as_possible (17013 calls)
                0   - trait_solve::wait (1017 calls)
        0   - PerNs::filter_visibility (13 calls)
       17ms - Semantics::analyze_impl (19 calls)
        0   - SourceBinder::to_module_def (30 calls)
        0   - attrs_query (6 calls)
        0   - classify_lifetime (1 calls)
        0   - classify_lifetime_ref (4 calls)
       35ms - classify_name (28 calls)
       54ms - classify_name_ref (452 calls)
        0   - crate_def_map:wait (375 calls)
        7ms - descend_into_macros (776 calls)
        0   - generic_params_query (5 calls)
        0   - impl_data_with_diagnostics_query (1 calls)
       17ms - infer:wait (32 calls)
        0   - resolve_obligations_as_possible (1 calls)
        0   - source_file_to_def (1 calls)
        0   - trait_solve::wait (1 calls)
```
to
```

  256ms - highlight
      121ms - infer:wait @ per_query_memory_usage
          121ms - infer_query
                0   - PerNs::filter_visibility (436 calls)
                0   - crate_def_map:wait (336 calls)
                2ms - deref_by_trait (909 calls)
                0   - generic_params_query (1 calls)
                0   - inherent_impls_in_block_query (1 calls)
               81ms - resolve_obligations_as_possible (17013 calls)
                0   - trait_solve::wait (1017 calls)
        0   - PerNs::filter_visibility (13 calls)
       17ms - Semantics::analyze_impl (19 calls)
        0   - SourceBinder::to_module_def (30 calls)
        0   - attrs_query (6 calls)
        0   - classify_lifetime (1 calls)
        0   - classify_lifetime_ref (4 calls)
       35ms - classify_name (28 calls)
       56ms - classify_name_ref (452 calls)
        0   - crate_def_map:wait (375 calls)
        7ms - descend_into_macros (776 calls)
        0   - generic_params_query (5 calls)
        0   - impl_data_with_diagnostics_query (1 calls)
       16ms - infer:wait (32 calls)
        0   - resolve_obligations_as_possible (1 calls)
        0   - source_file_to_def (1 calls)
        0   - trait_solve::wait (1 calls)
```
2023-08-12 04:38:32 +00:00
..
base-db Support libc::getenv in mir interpreter 2023-08-06 01:46:29 +03:30
cfg
flycheck
hir Simplify 2023-08-10 20:10:19 +02:00
hir-def Simplify 2023-08-10 20:10:19 +02:00
hir-expand Simplify 2023-08-10 20:10:19 +02:00
hir-ty Auto merge of #15436 - Veykril:temp-alloc, r=Veykril 2023-08-12 04:38:32 +00:00
ide Display fully qualified associated types correctly 2023-08-09 00:04:55 +08:00
ide-assists Auto merge of #15433 - alibektas:deunwrap/remove_unused_imports, r=lnicola 2023-08-11 11:14:45 +00:00
ide-completion remove unicode-ident dependency 2023-08-01 18:18:12 -04:00
ide-db Support doc links that resolve to fields 2023-08-07 00:59:35 +09:00
ide-diagnostics Add ExternCrateDecl to HIR 2023-08-02 11:52:55 +02:00
ide-ssr
intern
limit
load-cargo
mbe fix: Fix float parser hack creating empty NameRef tokens 2023-08-08 14:44:33 +02:00
parser fix: Fix float parser hack creating empty NameRef tokens 2023-08-08 14:44:33 +02:00
paths
proc-macro-api Support reading uncompressed proc macro metadata 2023-07-17 13:30:19 +00:00
proc-macro-srv Minor refactoring 2023-07-27 16:30:57 +09:00
proc-macro-srv-cli
proc-macro-test
profile
project-model More error context when failing to invoke the rust toolchain 2023-08-09 14:09:37 +02:00
rust-analyzer Fix pinned version of lsp-types 2023-08-09 20:06:08 +02:00
sourcegen
stdx
syntax Derive block attributes from block item tree 2023-08-10 18:52:27 +02:00
test-utils
text-edit
toolchain
tt Auto merge of #15367 - Veykril:eager-macro-inputs, r=Veykril 2023-08-01 11:23:02 +00:00
vfs
vfs-notify