-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
#[macro_export(hello, world)] #107231
Comments
For anyone who would like to work on this, the following code needs to be adjusted to check if the meta-item list is empty or if it only contains the identifier rust/compiler/rustc_passes/src/check_attr.rs Line 2010 in c8e6a9e
Due to backward compatibility concerns, probably only a future-incompat warning should be issued if the verification fails. @rustbot label T-compiler A-attributes |
@rustbot claim |
First rust-lang/rust contribution I hope this goes well |
…er-errors Add check for invalid #[macro_export] arguments Resolves rust-lang#107231 Sorry if I made something wrong, this is my first contribution to the repo.
…er-errors Add check for invalid #[macro_export] arguments Resolves rust-lang#107231 Sorry if I made something wrong, this is my first contribution to the repo.
I tried this code:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=9c40221c498bdc99beb7022d53fdb086
I expected to see this happen: it shouldn't compile
Instead, this happened: it compiles
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: