You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invalid value accepted for #[macro_export(local_inner_macros)] #154977
The reference seems to indicate that #[macro_export(local_inner_macros)] does not accept additional values for local_inner_macros. However, the following code currently compiles without errors.
As far as I can tell, the false value is entirely ignored, making the attributes equivalent to just #[macro_export(local_inner_macros)]. (The same is true when using string literals and numerical literals instead of false.)
I think this code should probably be rejected.
The parsing of this attribute was ported to the new attribute parsing infrastructure in #143857.
Activity
Rollup merge of rust-lang#155193 - JonathanBrouwer:args_used_check, r…
Rollup merge of rust-lang#155193 - JonathanBrouwer:args_used_check, r…
Rollup merge of rust-lang#155193 - JonathanBrouwer:args_used_check, r…
Rollup merge of rust-lang#155193 - JonathanBrouwer:args_used_check, r…
Unrolled build for #155193
Rollup merge of #155193 - JonathanBrouwer:args_used_check, r=jdonszel…