We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74115f4 commit f21f6f3Copy full SHA for f21f6f3
src/ir/analysis/has_destructor.rs
@@ -41,6 +41,8 @@ pub struct HasDestructorAnalysis<'ctx> {
41
42
impl<'ctx> HasDestructorAnalysis<'ctx> {
43
fn consider_edge(kind: EdgeKind) -> bool {
44
+ // These are the only edges that can affect whether a type has a
45
+ // destructor or not.
46
matches!(
47
kind,
48
EdgeKind::TypeReference |
0 commit comments