Skip to content

Renaming a module to a raw identifier shouldn’t rename the module file to the raw identifier name #14131

@schuelermine

Description

@schuelermine

For instance, if you were to name a module r#macro, the file should be renamed to macro.rs or macro/mod.rs, not r#macro.rs.

rust-analyzer version: 2023-01-23

rustc version: rustc 1.69.0-nightly (2773383 2023-02-10)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-idegeneral IDE featuresC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions