Skip to content

variable arguments in println! macro are not indexed #15777

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
yjlcoder opened this issue Oct 18, 2023 · 3 comments
Closed

variable arguments in println! macro are not indexed #15777

yjlcoder opened this issue Oct 18, 2023 · 3 comments
Labels
C-support Category: support questions

Comments

@yjlcoder
Copy link

rust-analyzer version: v0.3.1697

rustc version: 1.68.2 (9eb3afe9e 2023-03-27)

relevant settings: default settings

I'm aware of #11296 and #11503, but this is a different issue.

In the latest version, variable arguments in println! macro are not indexed or referenced.

Screenshot from 2023-10-17 20-17-09

It works previously. The last working version is 0.3.1649-standalone.

Screenshot from 2023-10-17 20-18-26

@yjlcoder yjlcoder added the C-bug Category: bug label Oct 18, 2023
@Veykril
Copy link
Member

Veykril commented Oct 18, 2023

Hmm, this still works fine for me?

@lnicola
Copy link
Member

lnicola commented Oct 18, 2023

@yjlcoder I don't know which change could have caused this, but I suggest staying on an older version if you can't upgrade to a newer toolchain. We don't support versions that old.

@lnicola lnicola added C-support Category: support questions and removed C-bug Category: bug labels Oct 18, 2023
@yjlcoder
Copy link
Author

I updated rust version to latest and it works fine now. Tysm for the help!

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

No branches or pull requests

3 participants