mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Further attempts to convince mem_ctrl to be sane.
This commit is contained in:
parent
50e96414d2
commit
9236ad2846
@ -127,7 +127,9 @@ let slot_mem_ctrl (slot:Ast.slot) : mem_ctrl =
|
||||
then MEM_gc
|
||||
else MEM_rc_struct
|
||||
| Ast.MODE_exterior _ ->
|
||||
MEM_rc_opaque
|
||||
if type_has_state ty
|
||||
then MEM_gc
|
||||
else MEM_rc_opaque
|
||||
| _ ->
|
||||
MEM_interior
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user