Skip to content

Commit 93a0763

Browse files
committed
libsyntax: Don't write a ctor ID for struct-like enum variants. rs=rustbot
1 parent a9d7642 commit 93a0763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3081,7 +3081,7 @@ impl Parser {
30813081
fields: move fields,
30823082
methods: move methods,
30833083
dtor: actual_dtor,
3084-
ctor_id: Some(self.get_id())
3084+
ctor_id: None
30853085
};
30863086
}
30873087

0 commit comments

Comments
 (0)