diff options
| author | bors <bors@rust-lang.org> | 2022-05-30 11:29:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-05-30 11:29:55 +0000 |
| commit | bd0c2344f24b96326c304edb0de68457bf28841f (patch) | |
| tree | d51b95aa90a7f7463b886e2a9488e4709aeea9fe /src/test/codegen/src-hash-algorithm | |
| parent | e4ead8a7c6b45440b035e18947d8a98946a917c2 (diff) | |
| parent | d98c04aac17d62ccddf26af501ee9e4d300ab6c5 (diff) | |
| download | rust-bd0c2344f24b96326c304edb0de68457bf28841f.tar.gz rust-bd0c2344f24b96326c304edb0de68457bf28841f.zip | |
Auto merge of #12387 - 00nktk:fix-mod-rename, r=Veykril
fix(ide-db): correct single-file module rename
Fixes a bug where rust-analyzer would emit `WorkspaceEdit`s with paths to dirs instead of files for the following project layout.
lib.rs
```rust
mod foo;
```
foo.rs
```rust
mod bar {
struct Bar;
}
```
Also fixes emitted paths for modules with mod.rs.
The bug resulted in panic in helix editor when attempting to rename a module.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
