bors 3dfd4c1f4c Auto merge of #16915 - 6d7a:master, r=HKalbasi
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-24 15:05:14 +00:00
..
2024-03-11 11:05:59 -04:00
2024-03-19 15:39:00 +01:00
2024-03-15 21:14:17 +08:00
2024-03-21 20:08:30 +01:00
2024-03-04 11:10:06 +01:00
2024-03-21 10:21:44 +01:00
2024-03-14 16:24:51 +01:00
2024-03-19 15:39:00 +01:00
2024-03-21 20:08:30 +01:00