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

Implement missing members introduces a \ before the curly braces of functions of a trait #17219

Open
vaporif opened this issue May 12, 2024 · 3 comments
Labels
C-bug Category: bug C-support Category: support questions

Comments

@vaporif
Copy link

vaporif commented May 12, 2024

Implementing trait inserts \} at the end

impl Add for Vec3 {
    type Output;

    fn add(self, rhs: Self) -> Self::Output {
        todo!()
    \}
}

Seems like regression of #16607

Works fine on 1.77.2

rust-analyzer version: rust-analyzer 1.78.0 (9b00956e 2024-04-29)

rustc version: rustc 1.78.0 (9b00956e5 2024-04-29)

editor or extension: neovim standard mason setup

relevant settings: n/a

@vaporif vaporif added the C-bug Category: bug label May 12, 2024
@lnicola
Copy link
Member

lnicola commented May 13, 2024

Can you test using a binary downloaded from GitHub instead of the rustup version?

@lnicola lnicola added the C-support Category: support questions label May 13, 2024
@roife
Copy link
Contributor

roife commented May 13, 2024

Might be similar to #16867.

@Veykril
Copy link
Member

Veykril commented May 13, 2024

Also make sure to update your editor stuff (editor itself, and lsp integration if separate)

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

No branches or pull requests

4 participants