diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ir/analysis/has_destructor.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir/analysis/has_destructor.rs b/src/ir/analysis/has_destructor.rs index fe95b516..74fd73d1 100644 --- a/src/ir/analysis/has_destructor.rs +++ b/src/ir/analysis/has_destructor.rs @@ -41,6 +41,8 @@ pub struct HasDestructorAnalysis<'ctx> { impl<'ctx> HasDestructorAnalysis<'ctx> { fn consider_edge(kind: EdgeKind) -> bool { + // These are the only edges that can affect whether a type has a + // destructor or not. matches!( kind, EdgeKind::TypeReference | |