diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-22 00:19:28 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-22 00:19:28 +0000 |
commit | d8b09435357462dccf7f026f568b2cd1dc3ec67a (patch) | |
tree | 72909c3e5d3051357c0bc0f6e121f65eec4ba0f1 /crates/ra_hir_def/src/attr.rs | |
parent | f3ab290bd4d20b2c1531980eb87a32981efb7826 (diff) | |
parent | fe8ce4c41d5f82ab164e76aef6c504c99fdff410 (diff) |
Merge #3244
3244: Rename module references r=matklad a=adamrk
Rename references to a module when the module is renamed. This fixes some missing renames in the existing implementation. For example, renaming the module `foo` to `foo2` in this case:
```rust
mod foo {
pub fn bar() {}
}
fn main() {
foo::bar()
}
```
previously would not change the call `foo::bar()` to `foo2::bar()`, but now it will.
Co-authored-by: adamrk <[email protected]>
Co-authored-by: Adam Bratschi-Kaye <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/attr.rs')
0 files changed, 0 insertions, 0 deletions