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

Test for other "unsafe attributes" #132

Closed
8 tasks done
workingjubilee opened this issue Dec 6, 2022 · 1 comment
Closed
8 tasks done

Test for other "unsafe attributes" #132

workingjubilee opened this issue Dec 6, 2022 · 1 comment

Comments

@workingjubilee
Copy link
Contributor

workingjubilee commented Dec 6, 2022

Some attributes are implicitly unsafe, without containing the unsafe token in Rust. I will refer to these as "unsafe attributes". We probably need to replicate the work in #128 to make sure we detect these.

@thomcc
Copy link
Contributor

thomcc commented Apr 4, 2023

#[link] is definitely something we need to forbid, but thankfully plrustc's lint against extern blocks does so. Closing as completed.

@thomcc thomcc closed this as completed Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants