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 a22539b commit c75dd78Copy full SHA for c75dd78
src/librustc/middle/typeck/coherence.rs
@@ -725,6 +725,7 @@ impl CoherenceChecker {
725
726
let self_type = self.get_self_type_for_implementation(*impl_info);
727
match ty::get(self_type.ty).sty {
728
+ ty::ty_enum(type_def_id, _) |
729
ty::ty_struct(type_def_id, _) => {
730
let mut destructor_for_type = tcx.destructor_for_type
731
.borrow_mut();
0 commit comments