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

Incorrect error on use of core::intrinsics::likely/unlikely #18931

Open
cjhopman opened this issue Jan 13, 2025 · 1 comment
Open

Incorrect error on use of core::intrinsics::likely/unlikely #18931

cjhopman opened this issue Jan 13, 2025 · 1 comment
Assignees
Labels
C-bug Category: bug

Comments

@cjhopman
Copy link
Contributor

Getting "call to unsafe function is unsafe and requires an unsafe function or blockrust-analyzerE0133" for uses of likely/unlikely which aren't actually unsafe.

Image
@cjhopman cjhopman added the C-bug Category: bug label Jan 13, 2025
@alibektas alibektas self-assigned this Jan 14, 2025
@alibektas
Copy link
Member

alibektas commented Jan 14, 2025

👋 Could you share your cargo and rust-analyzer versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants