diff options
| author | Ali Bektas <bektasali@protonmail.com> | 2024-01-19 14:33:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-19 14:33:40 +0100 |
| commit | 0becb6c8194d341d58784276f2ede926c1c198c3 (patch) | |
| tree | 0b89d54c882e41d21312031ef83d80cf00c36821 | |
| parent | 431040fe59e2b76f1901ca2bac1b04550ffafde4 (diff) | |
| download | rust-0becb6c8194d341d58784276f2ede926c1c198c3.tar.gz rust-0becb6c8194d341d58784276f2ede926c1c198c3.zip | |
Update crates/ide-db/src/rename.rs
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
| -rw-r--r-- | crates/ide-db/src/rename.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-db/src/rename.rs b/crates/ide-db/src/rename.rs index 10fcef49a02..051dba0ec04 100644 --- a/crates/ide-db/src/rename.rs +++ b/crates/ide-db/src/rename.rs @@ -81,7 +81,7 @@ impl Definition { // Can we not rename non-local items? // Then bail if non-local if !rename_external && !krate.origin(sema.db).is_local() { - bail!("Cannot rename a non-local definition. Set `rename_allowExternalItems` to `true` to allow renaming for this item.") + bail!("Cannot rename a non-local definition as the config for it is disabled") } } |
