rust/crates
6d7a 7c1be82cd9 fix: Prevent stack overflow in recursive const types
In the evaluation of const values of recursive types
certain declarations could cause an endless call-loop
within the interpreter (hir-ty’s create_memory_map),
which would lead to a stack overflow.
This commit adds a check that prevents values that contain
an address in their value (such as TyKind::Ref) from being
allocated at the address they contain.
The commit also adds a test for this edge case.
2024-03-21 22:57:21 +01:00
..
base-db internal: Remove span trait 2024-03-21 20:08:30 +01:00
cfg
flycheck internal: Enforce utf8 paths 2024-03-19 15:39:00 +01:00
hir Auto merge of #16835 - wyatt-herkamp:use_one_tt_for_a_derive, r=Veykril 2024-03-21 18:04:38 +00:00
hir-def Auto merge of #16835 - wyatt-herkamp:use_one_tt_for_a_derive, r=Veykril 2024-03-21 18:04:38 +00:00
hir-expand Auto merge of #16835 - wyatt-herkamp:use_one_tt_for_a_derive, r=Veykril 2024-03-21 18:04:38 +00:00
hir-ty fix: Prevent stack overflow in recursive const types 2024-03-21 22:57:21 +01:00
ide Keep the span for Attr::Literal 2024-03-21 10:28:25 +01:00
ide-assists fix: typo 2024-03-15 21:14:17 +08:00
ide-completion Keep the span for Attr::Literal 2024-03-21 10:28:25 +01:00
ide-db Split SymbolKind::Function into Function and Method 2024-03-17 11:07:22 +01:00
ide-diagnostics Make use of ThinArc in RawAttrs 2024-03-21 11:49:09 +01:00
ide-ssr
intern
limit
load-cargo internal: Enforce utf8 paths 2024-03-19 15:39:00 +01:00
mbe internal: Remove span trait 2024-03-21 20:08:30 +01:00
parser fix: Improve error recovery for match arms 2024-03-19 10:55:47 +01:00
paths internal: Enforce utf8 paths 2024-03-19 15:39:00 +01:00
proc-macro-api internal: Remove span trait 2024-03-21 20:08:30 +01:00
proc-macro-srv internal: Remove span trait 2024-03-21 20:08:30 +01:00
proc-macro-srv-cli
profile
project-model fix: Fix projects depending on rustc_private hanging 2024-03-21 16:55:42 +01:00
rust-analyzer Use relative glob patterns in DidChangeWatchedFilesRegistrationOptions 2024-03-21 21:27:34 +01:00
salsa
sourcegen
span Move Edition into span crate 2024-03-21 10:21:44 +01:00
stdx Remove dead test code 2024-03-14 16:24:51 +01:00
syntax internal: Move grammar codegen into xtask 2024-03-19 10:57:53 +01:00
test-fixture Move Edition into span crate 2024-03-21 10:21:44 +01:00
test-utils
text-edit
toolchain internal: Enforce utf8 paths 2024-03-19 15:39:00 +01:00
tt internal: Remove span trait 2024-03-21 20:08:30 +01:00
vfs fix: Some file watching related vfs fixes 2024-03-21 21:22:19 +01:00
vfs-notify fix: Some file watching related vfs fixes 2024-03-21 21:22:19 +01:00