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

rename print args not working on nightly #18150

Closed
loynoir opened this issue Sep 19, 2024 · 6 comments
Closed

rename print args not working on nightly #18150

loynoir opened this issue Sep 19, 2024 · 6 comments
Labels
C-bug Category: bug

Comments

@loynoir
Copy link

loynoir commented Sep 19, 2024

rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)

rust-analyzer version: 1.80.0 (0514789 2024-07-21)

rustc version: (eg. output of rustc -V)

rustc 1.82.0-nightly (1f12b9b0f 2024-08-27)

editor or extension: (eg. VSCode, Vim, Emacs, etc. For VSCode users, specify your extension version; for users of other editors, provide the distribution if applicable)

vscode 1.93.1

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

channel = "nightly-2024-08-28"

repository link (if public, optional): (eg. rust-analyzer)

rust-lang/rust#130504

code snippet to reproduce:

    let foo: i32 = 42;
    eprintln!("value={foo}");
    let bar: i32 = 42;
    eprintln!("value={foo}");
@loynoir loynoir added the C-bug Category: bug label Sep 19, 2024
@ChayimFriedman2
Copy link
Contributor

This is a pretty old rust-analyzer version. Can you check with a more recent one (the VSCode extension comes bundled with one by default)?

@loynoir
Copy link
Author

loynoir commented Sep 19, 2024

Uninstall and restart dev container and reinstall and restart devcontainer, still not working on nightly.

RA v0.3.2112

rust-analyzer version: 1.82.0-nightly (1f12b9b 2024-08-27)

@ChayimFriedman2
Copy link
Contributor

Cannot reproduce. Works fine for me. That's an old nightly too - can you upgrade to a more recent one?

@loynoir
Copy link
Author

loynoir commented Sep 19, 2024

https://static.rust-lang.org/manifests.txt

Tested working

  • non-nightly

  • channel = "nightly-2024-09-15"

Tested not working

  • channel = "nightly-2024-08-28"

@loynoir loynoir closed this as completed Sep 19, 2024
@ChayimFriedman2
Copy link
Contributor

We support officially only the latest stable version. Recent nightlies might work, but especially old nightlies might as well not. So this is kind of expected.

@loynoir
Copy link
Author

loynoir commented Sep 19, 2024

Cannot reproduce.

BTW, are you using channel = "nightly-2024-08-28" ?

If so, I guess sccache may do something wrong.


Cannot reproduce. Works fine for me. That's an old nightly too - can you upgrade to a more recent one?

The reason I was not update is recent version llvm coverage always have warnings.

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