Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 0becb6c

Browse files
alibektasVeykril
andauthored
Update crates/ide-db/src/rename.rs
Co-authored-by: Lukas Wirth <[email protected]>
1 parent 431040f commit 0becb6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide-db/src/rename.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl Definition {
8181
// Can we not rename non-local items?
8282
// Then bail if non-local
8383
if !rename_external && !krate.origin(sema.db).is_local() {
84-
bail!("Cannot rename a non-local definition. Set `rename_allowExternalItems` to `true` to allow renaming for this item.")
84+
bail!("Cannot rename a non-local definition as the config for it is disabled")
8585
}
8686
}
8787

0 commit comments

Comments
 (0)