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 symbol: unexpected behavior #17210

Open
kzhui125 opened this issue May 9, 2024 · 0 comments
Open

rename symbol: unexpected behavior #17210

kzhui125 opened this issue May 9, 2024 · 0 comments
Labels
C-bug Category: bug

Comments

@kzhui125
Copy link

kzhui125 commented May 9, 2024

rust-analyzer version:

0.3.1950-standalone (c4618fe 2024-05-05)

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

rustc 1.78.0 (9b00956e5 2024-04-29)

editor or extension:

VSCode

code snippet to reproduce:

main.rs

use point::Point;

mod point;

fn main() {
    Point::f1();
}

point.rs

pub struct Point;

impl Point {
    pub fn f1() {}
}

before rename:

image

After rename Point to Point1:

image
@kzhui125 kzhui125 added the C-bug Category: bug label May 9, 2024
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

1 participant