We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reproduction using lazy_static:
lazy_static
lazy_static::lazy_static! { static ref FOO: () = #[allow(missing_docs)] (); }
I’m trying to further minimize the testcase.
I get the following with RA_LOG:
RA_LOG
[WARN hir_expand::db] fail on macro_parse: (reason: BindingError("expected subtree") macro_call: __lazy_static_internal!(@MAKETY, ,(), $N);) parents: __lazy_static_internal!(@TAIL, $N: : = =); __lazy_static_internal!(@TAIL, $N:()= $); __lazy_static_internal!(@MAKETY, ,(), $N); __lazy_static_internal!(@MAKETY, ,(), $N); __lazy_static_internal!(@TAIL, $N:()= $); __lazy_static_internal!(@MAKETY, ,(), $N); __lazy_static_internal!(@MAKETY, ,(), $N); __lazy_static_internal!(@TAIL, $N:()= $); __lazy_static_internal!(@MAKETY, ,(), $N); __lazy_static_internal!(@MAKETY, ,(), $N); __lazy_static_internal!(@MAKETY, ,(), $N); __lazy_static_internal!(()staticref$N: $T= $e;); lazy_static!(();); __lazy_static_internal!(()staticrefFOO:()= # ;();); lazy_static::lazy_static! { static ref FOO: () = #[allow(missing_docs)] (); }
the log message changes a bit, but its just looping there.
The text was updated successfully, but these errors were encountered:
This can be easily worked around by wrapping both the attribute and the expression in braces. We hit this problem here btw: getsentry/relay#734
Sorry, something went wrong.
77ad203
edwin0cheng
Successfully merging a pull request may close this issue.
Reproduction using
lazy_static
:I’m trying to further minimize the testcase.
I get the following with
RA_LOG
:the log message changes a bit, but its just looping there.
The text was updated successfully, but these errors were encountered: