Skip to content

Deriving PartialOrd causes error "this operation is unsafe and requires an unsafe function or block" #14864

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

Closed
KSXGitHub opened this issue May 21, 2023 · 1 comment
Labels
C-bug Category: bug

Comments

@KSXGitHub
Copy link

KSXGitHub commented May 21, 2023

screenshot

rust-analyzer version: 0.3.1506-standalone

rustc version: rustc 1.64.0 (a55dd71d5 2022-09-19)

relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)

@KSXGitHub KSXGitHub added the C-bug Category: bug label May 21, 2023
@Veykril
Copy link
Member

Veykril commented May 21, 2023

See #14766 (comment)

Either upgrade to 1.69 or if that is not an option install an older rust-analyzer (preferably one from around when 1.64 released).

@Veykril Veykril closed this as completed May 21, 2023
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