rust/crates
bors bd0c2344f2 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.
2022-05-30 11:29:55 +00:00
..
base-db minor: Simplify 2022-05-20 16:52:10 +02:00
cfg minor: Bump dependencies 2022-03-22 17:42:24 +01:00
flycheck internal: Show more project building errors to the user 2022-04-14 11:31:01 +02:00
hir fix(ide-db): correct single-file module rename 2022-05-28 15:07:22 +03:00
hir-def Auto merge of #12395 - feniljain:fix_bugs, r=Veykril 2022-05-27 12:44:08 +00:00
hir-expand minor: Simplify 2022-05-20 16:52:10 +02:00
hir-ty fix overflow during tuple struct type inference 2022-05-29 16:22:33 +09:00
ide Auto merge of #12387 - 00nktk:fix-mod-rename, r=Veykril 2022-05-30 11:29:55 +00:00
ide-assists Make test pass 2022-05-25 18:31:08 +02:00
ide-completion fix: visibility completion 2022-05-30 00:06:48 +09:00
ide-db fix(ide-db): correct single-file module rename 2022-05-28 15:07:22 +03:00
ide-diagnostics Auto merge of #12010 - Veykril:r-a-config, r=Veykril 2022-05-10 12:07:24 +00:00
ide-ssr internal: Remove unqualified_path completions module 2022-05-05 22:21:42 +02:00
limit
mbe Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, r=jonas-schievink" 2022-05-13 15:08:14 +02:00
parser Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, r=jonas-schievink" 2022-05-13 15:08:14 +02:00
paths
proc-macro-api style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
proc-macro-srv style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
proc-macro-test delete a generated swap file 2022-05-01 10:48:58 +00:00
profile internal: vendor lsp-server 2022-05-14 21:15:43 +01:00
project-model minor: log build script invocations 2022-05-24 22:56:49 +02:00
rust-analyzer fix: visibility completion 2022-05-30 00:06:48 +09:00
sourcegen Bump xshell and fix dist 2022-03-17 08:53:33 +02:00
stdx minor: Bump dependencies 2022-03-22 17:42:24 +01:00
syntax fix: f32 and f64 representation during lowering 2022-05-26 20:03:05 +05:30
test-utils style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
text-edit style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
toolchain
tt minor: Bump dependencies 2022-03-22 17:42:24 +01:00
vfs minor: Bump dependencies 2022-03-22 17:42:24 +01:00
vfs-notify Fix build on OpenBSD (and probably other BSDs too) 2022-05-22 17:04:57 -04:00