-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Unable to analyze lazy_static? #3712
Comments
I.e : lazy_static! {
static ref VEC: Vec<u8> = vec![0x18u8, 0x11u8];
} The code above expanded to: (By command __lazy_static_internal!(()static ref VEC:Vec<u8> = vec![0x18u8,0x11u8];
); And |
Fixed by #4305 OT: About 1 year ago, I started using rust-analyzer, but found that it cannot analyze |
If I understand correctly, this has been released in
I'm still getting all the |
Looks like I should use https://docs.rs/once_cell/1.4.0/once_cell/#lazy-initialized-global-data instead 😄 |
Lol yes, at least partially, the motivation for |
Yeah, @matklad is the best one to answer this question. Lol |
Image is broken |
Yes, the "Uploading image.png..." indicates the post was submitted before the image finished uploading. In any case, Code for easy copy-pasting for those trying to repro:
In function:
|
That problem is presumably #1559 |
Implement epoll shim This PR: - implemented non-blocking ``epoll`` for rust-lang#3448 . The design for this PR is documented in https://hackmd.io/`@tiif/SJatftrH0` . - renamed FileDescriptor to FileDescriptionRef - assigned an ID to every file description
b
will be analyzed asOption<{unknown}>
.Using the lastest version from compiling lastest master branch. Is RA unable to analyze lazy_static yet?
The text was updated successfully, but these errors were encountered: