Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse unsafe extern block syntax #918

Closed
dtolnay opened this issue Nov 6, 2020 · 0 comments · Fixed by #928
Closed

Parse unsafe extern block syntax #918

dtolnay opened this issue Nov 6, 2020 · 0 comments · Fixed by #928
Labels

Comments

@dtolnay
Copy link
Owner

dtolnay commented Nov 6, 2020

As tested by the following test case in rustc:
https://github.com/rust-lang/rust/blob/7e9a36fa8a4ec06daec581e23f390389e05f25e4/src/test/ui/proc-macro/unsafe-foreign-mod.rs

unsafe extern {
    ...
}

unsafe extern "C++" {
   ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant