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

Commit 431040f

Browse files
committed
Update bail message referencing config
Even though we changed the name of the config I forgot to update the warning message that referenced it.
1 parent 2102091 commit 431040f

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 `renameExternalItems` to `true` to allow renaming for this item.")
84+
bail!("Cannot rename a non-local definition. Set `rename_allowExternalItems` to `true` to allow renaming for this item.")
8585
}
8686
}
8787

0 commit comments

Comments
 (0)