mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Update bail message referencing config
Even though we changed the name of the config I forgot to update the warning message that referenced it.
This commit is contained in:
parent
21020919e3
commit
431040fe59
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ impl Definition {
|
||||||
// Can we not rename non-local items?
|
// Can we not rename non-local items?
|
||||||
// Then bail if non-local
|
// Then bail if non-local
|
||||||
if !rename_external && !krate.origin(sema.db).is_local() {
|
if !rename_external && !krate.origin(sema.db).is_local() {
|
||||||
bail!("Cannot rename a non-local definition. Set `renameExternalItems` to `true` to allow renaming for this item.")
|
bail!("Cannot rename a non-local definition. Set `rename_allowExternalItems` to `true` to allow renaming for this item.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue