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 ffcb461 commit 5f6110aCopy full SHA for 5f6110a
src/comp/front/parser.rs
@@ -1776,7 +1776,7 @@ impure fn parse_item_native_mod(parser p) -> @ast.item {
1776
native_name = default_native_name(p.get_session(), id);
1777
}
1778
expect(p, token.LBRACE);
1779
- auto m = parse_native_mod_items(p, native_name, ast.native_abi_cdecl);
+ auto m = parse_native_mod_items(p, native_name, abi);
1780
auto hi = p.get_span();
1781
expect(p, token.RBRACE);
1782
auto item = ast.item_native_mod(id, m, p.next_def_id());
0 commit comments