We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 431040f commit 0becb6cCopy full SHA for 0becb6c
crates/ide-db/src/rename.rs
@@ -81,7 +81,7 @@ impl Definition {
81
// Can we not rename non-local items?
82
// Then bail if non-local
83
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.")
+ bail!("Cannot rename a non-local definition as the config for it is disabled")
85
}
86
87
0 commit comments