mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
CrateOrigin::Local means local to the project workspace, not cargo workspace
This commit is contained in:
parent
0ccb3b8731
commit
ead369117a
17 changed files with 73 additions and 332 deletions
|
@ -675,9 +675,8 @@ impl Analysis {
|
|||
&self,
|
||||
position: FilePosition,
|
||||
new_name: &str,
|
||||
rename_external: bool,
|
||||
) -> Cancellable<Result<SourceChange, RenameError>> {
|
||||
self.with_db(|db| rename::rename(db, position, new_name, rename_external))
|
||||
self.with_db(|db| rename::rename(db, position, new_name))
|
||||
}
|
||||
|
||||
pub fn prepare_rename(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue