Skip to content

Commit c04e998

Browse files
committed
Fix compilation because of libsyntax changes
1 parent f05d940 commit c04e998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gen.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ fn cstruct_to_rs(ctx: &GenCtx, name: ~str, fields: ~[@FieldInfo]) -> @ast::item
274274
fields: fs,
275275
methods: ~[],
276276
dtor: None,
277-
ctor_id: ctx.ext_cx.next_id()
277+
ctor_id: None
278278
},
279279
~[]
280280
);
@@ -319,7 +319,7 @@ fn cunion_to_rs(ctx: &GenCtx, name: ~str, fields: ~[@FieldInfo]) -> ~[@ast::item
319319
fields: ~[data],
320320
methods: ~[],
321321
dtor: None,
322-
ctor_id: ctx.ext_cx.next_id()
322+
ctor_id: None
323323
},
324324
~[]
325325
);

0 commit comments

Comments
 (0)