Skip to content

tests for cleanup in guards #3478

Closed
Closed
@nikomatsakis

Description

@nikomatsakis

I realized I forgot to ensure that there are tests for cleanup of by-value bindings in match guards. For example, if the guard should fail, or be false, we have to be sure we don't leak. Similarly, just testing that if the guard is taken, cleanup occurs---there may not be good dedicated tests for that either.

Metadata

Metadata

Assignees

Labels

A-codegenArea: Code generationP-lowLow priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions