swift
c340d475 - [TypeLowering] Move-only types are lexical.

Commit
2 years ago
[TypeLowering] Move-only types are lexical. Vars of such types should be given lexical `alloc_stack`s by `AllocBoxToStack` which requires that the `alloc_box` insts formed for them have an associated borrow scope which in turn requires that type lowering for move only structs and enums have their lexical bits set. rdar://110901430
Author
Committer
Parents
Loading