Structs destructors are checked in line L46. The reason we can't use type contents for `enums` is that it will also consider the variant constructors types and whether those types have a destructor, which is not good for things like [this](https://github.com/mozilla/rust/pull/11979/files#diff-fb69e99c71135b93fa6710055d79043aR32)