We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc6f3b2 commit 8b71c79Copy full SHA for 8b71c79
src/codegen/mod.rs
@@ -706,11 +706,7 @@ impl<'a> CodeGenerator for Vtable<'a> {
706
assert_eq!(item.id(), self.item_id);
707
// For now, generate an empty struct, later we should generate function
708
// pointers and whatnot.
709
- let mut attributes = vec![attributes::repr("C")];
710
-
711
- if ctx.options().derive_default {
712
- attributes.push(attributes::derives(&["Default"]))
713
- }
+ let attributes = vec![attributes::repr("C")];
714
715
let vtable = aster::AstBuilder::new()
716
.item()
0 commit comments