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
rust-analyzer version: 0.3.2104-standalone
rustc version: 1.81.0 (eeb90cda1 2024-09-04)
editor or extension: VS Code extension v0.3.2104
relevant settings: N/A
repository link (if public, optional): N/A
code snippet to reproduce:
fn rdtscp() -> u64 { let hi: u64; let lo: u64; unsafe { std::arch::asm!( "rdtscp", out("rdx") hi, out("rax") lo, out("rcx") _, options(nomem, nostack, preserves_flags) ); } (hi << 32) | lo }
rust-analyzer shows an error on the line out("rcx") _:
out("rcx") _
`_` expressions may only appear on the left-hand side of an assignment
Screenshot:
The text was updated successfully, but these errors were encountered:
58418ab
Auto merge of rust-lang#18106 - Veykril:push-yzsqoykyowts, r=Veykril
8cd0a27
fix: Don't report typed hole error in asm! out ops Fixes rust-lang/rust-analyzer#18103
Successfully merging a pull request may close this issue.
rust-analyzer version: 0.3.2104-standalone
rustc version: 1.81.0 (eeb90cda1 2024-09-04)
editor or extension: VS Code extension v0.3.2104
relevant settings: N/A
repository link (if public, optional): N/A
code snippet to reproduce:
rust-analyzer shows an error on the line
out("rcx") _
:Screenshot:
The text was updated successfully, but these errors were encountered: